diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,14 +1,15 @@ -CFLAGS?=-O0 -g +CFLAGS?=-O2 -g +LDFLAGS?= CC?=gcc INSTALL?=install -RODISC_PKGCONFIG:=glib-2.0 gobject-2.0 gio-unix-2.0 libsoup-2.4 avahi-gobject +RODISC_PKGCONFIG:=glib-2.0 gobject-2.0 gio-unix-2.0 libsoup-2.4 avahi-client avahi-gobject RODISC_CFLAGS:=-Wall $(shell pkg-config --cflags $(RODISC_PKGCONFIG)) RODISC_LIBS:=$(shell pkg-config --libs $(RODISC_PKGCONFIG)) all: rodiscd -rodiscd: rodisc.o udisks.o udisks-device.o +rodiscd: rodisc.o server.o mdns.o file.o monitor.o $(CC) $(LDFLAGS) -o $@ $+ $(LIBS) $(RODISC_LIBS) %.o: %.c |