From c5116b39aecc5d488183f87b7bb610e3379b7832 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Wed, 12 Feb 2020 10:12:46 -0500 Subject: [PATCH] Fix tools Makefile for GNU make It seems that my little "@.c" trick only worked in BSD make... --- tools/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index 8b3cfd8..dd5970b 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -14,7 +14,13 @@ all: $(TARGETS) .c.o: $(CC) $(CFLAGS) -c $< -o $@ -$(TARGETS): $@.c $(OBJS) +$(MEMDUMP_TGT): $(MEMDUMP_TGT).c +$(BLKDUMP_TGT): $(BLKDUMP_TGT).c +$(UPLOAD_TGT): $(UPLOAD_TGT).c +$(FONTCOMPILE_TGT): $(FONTCOMPILE_TGT).c +$(TTYSAFE_TGT): $(TTYSAFE_TGT).c +$(PINGPONG_TGT): $(PINGPONG_TGT).c +$(TARGETS): $(OBJS) $(CC) $(CFLAGS) $@.c $(OBJS) -o $@ .PHONY: clean