Makefile 937 B

1234567891011121314
  1. all: sapphire-backend sapphire-proxy
  2. echo "Bing"
  3. # Deps: libpurple-dev, libglib2.0-dev, libjson-glib-dev
  4. sapphire-backend: core.c websocket.c event-loop.c push.c
  5. gcc `pkg-config --cflags glib-2.0` `pkg-config --cflags gio-unix-2.0` `pkg-config --cflags json-glib-1.0` core.c websocket.c event-loop.c -I/usr/include/libpurple `pkg-config --libs gobject-2.0` `pkg-config --libs json-glib-1.0` -lpurple -I/usr/include/libsoup-2.4 -lsoup-2.4 -Wall -Wextra -Werror -Wno-unused-parameter -o sapphire-backend -g push.c -g
  6. # Deps: libglib2.0-dev, libsoup2.4-dev, libjson-glib-dev
  7. sapphire-proxy: proxy.c
  8. gcc `pkg-config --cflags glib-2.0` `pkg-config --cflags gio-unix-2.0` `pkg-config --cflags json-glib-1.0` proxy.c `pkg-config --libs gobject-2.0` `pkg-config --libs json-glib-1.0` -lpurple -I/usr/include/libsoup-2.4 -lsoup-2.4 -Wall -Wextra -Werror -Wno-unused-parameter -o sapphire-proxy -g
  9. clean:
  10. rm sapphire-backend sapphire-proxy