Create the makefile variable REFS in the same way that TESTS is made.

This commit is contained in:
Greg King
2014-12-17 16:30:09 -05:00
parent ad56b6abe9
commit d9c8c1de45
4 changed files with 6 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ DIFF := $(WORKDIR)/bdiff
.PHONY: all clean
SOURCES := $(wildcard *.c)
TESTS := $(SOURCES:%.c=$(WORKDIR)/%.prg)
TESTS += $(SOURCES:%.c=$(WORKDIR)/%.o.prg)
TESTS += $(SOURCES:%.c=$(WORKDIR)/%.os.prg)
@@ -61,5 +62,3 @@ clean:
@$(RM) $(TESTS)
@$(RM) $(SOURCES:.c=.o)
@$(RM) $(SOURCES:%.c=$(WORKDIR)/%.out)