aboutsummaryrefslogtreecommitdiffstats
path: root/util/scan/Makefile
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2013-09-03 09:48:38 +0200
committeretobi <git@e-tobi.net>2013-09-03 09:48:38 +0200
commit6e40287e2f39a80fc72bd8d0fbc1a8334d688c2d (patch)
tree024bef311226653bdd1da4fa588becf5098bcff7 /util/scan/Makefile
downloadlinux-dvb-apps-6e40287e2f39a80fc72bd8d0fbc1a8334d688c2d.tar.gz
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to '')
-rw-r--r--util/scan/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/util/scan/Makefile b/util/scan/Makefile
new file mode 100644
index 0000000..a82d865
--- /dev/null
+++ b/util/scan/Makefile
@@ -0,0 +1,21 @@
+
+CC = gcc
+CFLAGS = -MD -g -Wall -O2 -I../../include -I../lib
+LFLAGS = -g -Wall
+
+OBJS = diseqc.o dump-zap.o dump-vdr.o scan.o ../lib/lnb.o
+SRCS = $(OBJS:.o=.c)
+
+TARGET = scan
+
+$(TARGET): $(OBJS)
+ $(CC) $(LFLAGS) -o $(TARGET) $(OBJS)
+
+.c.o:
+ $(CC) $(CFLAGS) -c $< -o $@
+
+clean:
+ $(RM) *.o *.d $(TARGET)
+
+-include $(wildcard *.d) dummy
+