aboutsummaryrefslogtreecommitdiffstats
path: root/util/dvbtraffic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/dvbtraffic/Makefile')
-rw-r--r--util/dvbtraffic/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/util/dvbtraffic/Makefile b/util/dvbtraffic/Makefile
index c29be40..b9a8e82 100644
--- a/util/dvbtraffic/Makefile
+++ b/util/dvbtraffic/Makefile
@@ -1,6 +1,15 @@
+# Makefile for linuxtv.org dvb-apps/util/dvbtraffic
-dvbtraffic: dvbtraffic.c
- gcc -MD -g -O2 -Wall -I../../include $< -o $@
+binaries = dvbtraffic
-clean:
- rm -f *.o *.d dvbtraffic
+inst_bin = $(binaries)
+
+CPPFLAGS += -I../../lib
+LDFLAGS += -L../../lib/libdvbapi
+LDLIBS += -ldvbapi
+
+.PHONY: all
+
+all: $(binaries)
+
+include ../../Make.rules