diff options
author | Will Thompson <will@willthompson.co.uk> | 2012-01-11 11:03:05 +0000 |
---|---|---|
committer | Will Thompson <will@willthompson.co.uk> | 2012-01-12 11:11:41 +0000 |
commit | 23438e5a8b0c092817229e1512ca4f6f5163267b (patch) | |
tree | 57fa68955c8a953a4273a2cf98bc7f053c5ff362 /Makefile | |
parent | 6e4ae56ebdbc6c02e21586fd9360a3a049072d13 (diff) |
bustle-pcap: librarify guts
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -16,9 +16,12 @@ dist/build/bustle-dbus-monitor: c-sources/bustle-dbus-monitor.c @mkdir -p dist/build $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $< $(DBUS_FLAGS) -dist/build/bustle-pcap: c-sources/bustle-pcap.c +BUSTLE_PCAP_SOURCES = c-sources/pcap.c c-sources/bustle-pcap.c +BUSTLE_PCAP_HEADERS = c-sources/pcap.h + +dist/build/bustle-pcap: $(BUSTLE_PCAP_SOURCES) $(BUSTLE_PCAP_HEADERS) @mkdir -p dist/build - $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $< \ + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $(BUSTLE_PCAP_SOURCES) \ $(GIO_FLAGS) $(PCAP_FLAGS) install: all |