aboutsummaryrefslogtreecommitdiffstats
path: root/util/szap/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/szap/Makefile
downloadlinux-dvb-apps-f9014730536253ebd143f4900e4af6403dacfb02.tar.gz
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'util/szap/Makefile')
-rw-r--r--util/szap/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/util/szap/Makefile b/util/szap/Makefile
new file mode 100644
index 0000000..688c5d7
--- /dev/null
+++ b/util/szap/Makefile
@@ -0,0 +1,35 @@
+CC = gcc
+CFLAGS = -MD -Wall -g -O2 -I../../include -I../lib
+LFLAGS = -Wall -g -O2
+RM = rm -f
+
+TARGETS = szap tzap czap femon
+OBJS = szap.o tzap.o czap.o femon.o
+
+all: $(OBJS) $(TARGETS)
+ @echo
+ @echo "--------------------------------------------------------------------------------"
+ @echo " please copy an appropriate channels.conf-XXX channel list for DVB-S/C/T"
+ @echo
+ @echo " to ~/.szap/channels.conf"
+ @echo " ~/.czap/channels.conf"
+ @echo " ~/.tzap/channels.conf"
+ @echo
+ @echo " and then call ./szap for DVB-S, ./czap for DVB-C or ./tzap for DVB-T"
+ @echo "--------------------------------------------------------------------------------"
+ @echo
+
+szap: szap.o ../lib/lnb.o
+ $(CC) $(LFLAGS) -o szap szap.o ../lib/lnb.o
+
+.c.o:
+ $(CC) $(CFLAGS) -o $@ -c $<
+
+.o:
+ $(CC) $(LFLAGS) -o $@ $<
+
+clean:
+ $(RM) $(TARGETS) core* *.o *.d .depend
+
+-include $(wildcard *.d) dummy
+