comparison recpt1/Makefile.in @ 113:e7b786c42ca0

add an utility to check signal strength.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 19 Mar 2010 01:01:35 +0900
parents 52f8e081763d
children 3eccf1ef4853
comparison
equal deleted inserted replaced
112:38091ff0c8ed 113:e7b786c42ca0
4 bindir = @bindir@ 4 bindir = @bindir@
5 CC = @CC@ 5 CC = @CC@
6 6
7 TARGET = recpt1 7 TARGET = recpt1
8 TARGET2 = recpt1ctl 8 TARGET2 = recpt1ctl
9 TARGETS = $(TARGET) $(TARGET2) 9 TARGET3 = checksignal
10 TARGETS = $(TARGET) $(TARGET2) $(TARGET3)
10 RELEASE_VERSION = "1.1.0" 11 RELEASE_VERSION = "1.1.0"
11 12
12 CPPFLAGS = -I../driver -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 13 CPPFLAGS = -I../driver -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
13 CFLAGS = -O2 -g -pthread 14 CFLAGS = -O2 -g -pthread
14 15
15 LIBS = @LIBS@ 16 LIBS = @LIBS@
17 LIBS3 = -lm
16 LDFLAGS = 18 LDFLAGS =
17 19
18 OBJS = recpt1.o decoder.o mkpath.o tssplitter_lite.o 20 OBJS = recpt1.o decoder.o mkpath.o tssplitter_lite.o
19 OBJS2 = recpt1ctl.o 21 OBJS2 = recpt1ctl.o
22 OBJS3 = checksignal.o
23 OBJALL = $(OBJS) $(OBJS2) $(OBJS3)
20 DEPEND = .deps 24 DEPEND = .deps
21 25
22 all: $(TARGETS) 26 all: $(TARGETS)
23 27
24 clean: 28 clean:
25 rm -f $(OBJS) $(OBJS2) $(TARGETS) $(DEPEND) version.h 29 rm -f $(OBJALL) $(TARGETS) $(DEPEND) version.h
26 30
27 distclean: clean 31 distclean: clean
28 rm -f Makefile config.h config.log config.status 32 rm -f Makefile config.h config.log config.status
29 33
30 maintainer-clean: distclean 34 maintainer-clean: distclean
33 $(TARGET): $(OBJS) 37 $(TARGET): $(OBJS)
34 $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) 38 $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
35 39
36 $(TARGET2): $(OBJS2) 40 $(TARGET2): $(OBJS2)
37 $(CC) $(LDFLAGS) -o $@ $(OBJS2) $(LIBS2) 41 $(CC) $(LDFLAGS) -o $@ $(OBJS2) $(LIBS2)
42
43 $(TARGET3): $(OBJS3)
44 $(CC) $(LDFLAGS) -o $@ $(OBJS3) $(LIBS3)
38 45
39 $(DEPEND): version.h 46 $(DEPEND): version.h
40 $(CC) -MM $(OBJS:.o=.c) $(OBJS2:.o=.c) $(CPPFLAGS) > $@ 47 $(CC) -MM $(OBJS:.o=.c) $(OBJS2:.o=.c) $(CPPFLAGS) > $@
41 48
42 version.h: 49 version.h: