From 44f3fc98ea46642355a47212b4632a06527ff415 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Mon, 31 Aug 2015 22:12:33 +0000 Subject: [PATCH] tests: rules.mk: scrap legacy suffix search Instead of just adding elf/bin and friends, actively delete the original suffixes and include only things we care about. Before vs After: make -d | wc -l ==> 4497 make -d | wc -l ==> 932 Now, if only I could turn off the RCS/SCCS support so easily. --- tests/rules.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/rules.mk b/tests/rules.mk index 280c80ee..a118c5d5 100644 --- a/tests/rules.mk +++ b/tests/rules.mk @@ -104,6 +104,10 @@ LDLIBS += -l$(OPENCM3_LIB) #LDLIBS += -specs=nosys.specs LDLIBS += -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group +# Burn in legacy hell fortran modula pascal yacc idontevenwat +.SUFFIXES: +.SUFFIXES: .c .h .o .cxx .elf .bin .list .lss + all: $(PROJECT).elf $(PROJECT).bin flash: $(PROJECT).flash