aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d09120d..37b2fd6 100644
--- a/Makefile
+++ b/Makefile
@@ -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