diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,18 +1,18 @@ -CFLAGS?=-Wall +CFLAGS?=-Wall -Os RODISC_PKGCONFIG:=glib-2.0 gobject-2.0 gio-unix-2.0 libsoup-2.4 avahi-gobject RODISC_CFLAGS:=$(shell pkg-config --cflags $(RODISC_PKGCONFIG)) RODISC_LIBS:=$(shell pkg-config --libs $(RODISC_PKGCONFIG)) -all: rodisc +all: rodiscd -rodisc: rodisc.o udisks.o udisks-device.o +rodiscd: rodisc.o udisks.o udisks-device.o $(CC) $(LDFLAGS) -o $@ $+ $(LIBS) $(RODISC_LIBS) %.o: %.c $(CC) $(RODISC_CFLAGS) $(CFLAGS) -o $@ -c $< clean: - rm -f *.o rodisc + rm -f *.o rodiscd .PHONY: all clean |