aboutsummaryrefslogtreecommitdiffstats
path: root/util/szap/Makefile
diff options
context:
space:
mode:
authorMark Purcell <msp@debian.org>2008-06-22 11:00:40 +1000
committeretobi <git@e-tobi.net>2013-09-03 09:48:42 +0200
commit891c51ff368ed700dec6025eeb47ce4d96f76418 (patch)
tree3729664829e4faa691d403274f38eb10890b533c /util/szap/Makefile
parent1c6e1f28f54ec2606c23936c1d8689f2be55a86c (diff)
parentab959d7b4194715870128e616b8e29d4a101e488 (diff)
downloadlinux-dvb-apps-891c51ff368ed700dec6025eeb47ce4d96f76418.tar.gz
Imported Debian patch 1.1.1+rev1207-1debian/1.1.1+rev1207-1
Diffstat (limited to 'util/szap/Makefile')
-rw-r--r--util/szap/Makefile39
1 files changed, 11 insertions, 28 deletions
diff --git a/util/szap/Makefile b/util/szap/Makefile
index 680793c..b341c74 100644
--- a/util/szap/Makefile
+++ b/util/szap/Makefile
@@ -1,35 +1,18 @@
-CC = gcc
-CFLAGS = -MD -Wall -g -O2 -I../../include -I../lib
-LFLAGS = -Wall -g -O2
-RM = rm -f
+# Makefile for linuxtv.org dvb-apps/util/szap
-TARGETS = szap tzap czap azap femon
-OBJS = szap.o tzap.o czap.o azap.o femon.o
+objects = lnb.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
+binaries = azap \
+ czap \
+ szap \
+ tzap
-szap: szap.o ../lib/lnb.o
- $(CC) $(LFLAGS) -o szap szap.o ../lib/lnb.o
+inst_bin = $(binaries)
-.c.o:
- $(CC) $(CFLAGS) -o $@ -c $<
+.PHONY: all
-.o:
- $(CC) $(LFLAGS) -o $@ $<
+all: $(binaries)
-clean:
- $(RM) $(TARGETS) core* *.o *.d .depend
-
--include $(wildcard *.d) dummy
+$(binaries): $(objects)
+include ../../Make.rules