From 232bbedc5c3526fe61752d22a647d5e734534c03 Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Tue, 12 Jul 2016 15:41:08 -0400 Subject: [PATCH] util: make tget with libm --- Applications/util/Makefile.6809 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Applications/util/Makefile.6809 b/Applications/util/Makefile.6809 index 3d5effc1..1c903fb6 100644 --- a/Applications/util/Makefile.6809 +++ b/Applications/util/Makefile.6809 @@ -97,7 +97,6 @@ SRCS = \ tar.c \ tail.c \ termcap.c \ - tget.c \ umount.c \ uniq.c \ uptime.c \ @@ -109,17 +108,21 @@ SRCS = \ write.c \ xargs.c +SRCSM = tget.c + SKIPPED = \ tiddles.c \ OBJS = $(SRCS:.c=.o) OBJSNS = $(SRCSNS:.c=.o) +OBJM = $(SRCSM:.c=.o) APPS = $(OBJS:.o=) APPSNS = $(OBJSNS:.o=) +APPM = $(OBJM:.o=) -all: $(APPS) $(APPSNS) size.report +all: $(APPS) $(APPSNS) $(APPM) size.report $(APPS): $(CRT0) $(APPSNS): $(CRT0NS) @@ -127,6 +130,9 @@ $(APPSNS): $(CRT0NS) $(APPS) $(APPSNS): %: %.o $(LINKER) -o $@ $(LINKER_OPT) $^ +$(APPM): %: %.o + $(LINKER) -o $@ $(LINKER_OPT) -lm $^ + size.report: $(APPS) $(APPSNS) ls -l $^ > $@ -- 2.34.1