diff options
author | Javier <dev.git@javispedro.com> | 2018-03-10 17:44:47 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2018-03-10 17:45:40 +0100 |
commit | 037e989c3e618bef8120ba2df3a22abc57f9eaf8 (patch) | |
tree | 9a62b0972c65008199e2fffdaa32b5774211a0a9 /Makefile | |
parent | 07dd3830af6c920ac51958df3b688b2c9830fa00 (diff) | |
download | rodisc-037e989c3e618bef8120ba2df3a22abc57f9eaf8.tar.gz rodisc-037e989c3e618bef8120ba2df3a22abc57f9eaf8.zip |
drop udisks dependency (instead use gio volume monitor)
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 |