From be0cf1352e8211e641751cd3da58251c3c6e0bb2 Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Tue, 12 Jul 2016 17:01:35 -0400 Subject: [PATCH] utils 6809: link tget to termcap (rather than libm) --- Applications/util/Makefile.6809 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Applications/util/Makefile.6809 b/Applications/util/Makefile.6809 index 1c903fb6..cd9ec418 100644 --- a/Applications/util/Makefile.6809 +++ b/Applications/util/Makefile.6809 @@ -108,7 +108,7 @@ SRCS = \ write.c \ xargs.c -SRCSM = tget.c +SRCTC = tget.c SKIPPED = \ tiddles.c \ @@ -116,13 +116,13 @@ SKIPPED = \ OBJS = $(SRCS:.c=.o) OBJSNS = $(SRCSNS:.c=.o) -OBJM = $(SRCSM:.c=.o) +OBJTC = $(SRCTC:.c=.o) APPS = $(OBJS:.o=) APPSNS = $(OBJSNS:.o=) -APPM = $(OBJM:.o=) +APPTC = $(OBJTC:.o=) -all: $(APPS) $(APPSNS) $(APPM) size.report +all: $(APPS) $(APPSNS) $(APPTC) size.report $(APPS): $(CRT0) $(APPSNS): $(CRT0NS) @@ -130,8 +130,8 @@ $(APPSNS): $(CRT0NS) $(APPS) $(APPSNS): %: %.o $(LINKER) -o $@ $(LINKER_OPT) $^ -$(APPM): %: %.o - $(LINKER) -o $@ $(LINKER_OPT) -lm $^ +$(APPTC): %: %.o + $(LINKER) -o $@ $(LINKER_OPT) $(CRT0) -ltermcap6809 $^ size.report: $(APPS) $(APPSNS) ls -l $^ > $@ -- 2.34.1