diff 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
line wrap: on
line diff
--- a/recpt1/Makefile.in	Fri Mar 19 00:57:25 2010 +0900
+++ b/recpt1/Makefile.in	Fri Mar 19 01:01:35 2010 +0900
@@ -6,23 +6,27 @@
 
 TARGET = recpt1
 TARGET2 = recpt1ctl
-TARGETS = $(TARGET) $(TARGET2)
+TARGET3 = checksignal
+TARGETS = $(TARGET) $(TARGET2) $(TARGET3)
 RELEASE_VERSION = "1.1.0"
 
 CPPFLAGS = -I../driver -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 CFLAGS   = -O2 -g -pthread
 
 LIBS     = @LIBS@
+LIBS3    = -lm
 LDFLAGS  =
 
-OBJS   = recpt1.o decoder.o mkpath.o tssplitter_lite.o
-OBJS2  = recpt1ctl.o
+OBJS  = recpt1.o decoder.o mkpath.o tssplitter_lite.o
+OBJS2 = recpt1ctl.o
+OBJS3 = checksignal.o
+OBJALL  = $(OBJS) $(OBJS2) $(OBJS3)
 DEPEND = .deps
 
 all: $(TARGETS)
 
 clean:
-	rm -f $(OBJS) $(OBJS2) $(TARGETS) $(DEPEND) version.h
+	rm -f $(OBJALL) $(TARGETS) $(DEPEND) version.h
 
 distclean: clean
 	rm -f Makefile config.h config.log config.status
@@ -36,6 +40,9 @@
 $(TARGET2): $(OBJS2)
 	$(CC) $(LDFLAGS) -o $@ $(OBJS2) $(LIBS2)
 
+$(TARGET3): $(OBJS3)
+	$(CC) $(LDFLAGS) -o $@ $(OBJS3) $(LIBS3)
+
 $(DEPEND): version.h
 	$(CC) -MM $(OBJS:.o=.c) $(OBJS2:.o=.c) $(CPPFLAGS) > $@