7 .INTERMEDIATE: $(CMD_FILE)
10 TARGETDIR := ../../../src
11 INCLUDEDIR := ../../../include
12 TESTTARGET_FILES := $(TARGETDIR)/hash.c $(TARGETDIR)/cmem.c $(TARGETDIR)/cerr.c $(TARGETDIR)/cmd.c $(TARGETDIR)/assemble.c $(TARGETDIR)/word.c $(TARGETDIR)/label.c $(TARGETDIR)/struct.c $(TARGETDIR)/token.c # Set test target files
14 $(CMD_FILE): $(CMDSRC_FILE) $(TESTTARGET_FILES)
15 $(CC) $(CFLAGS) -I $(INCLUDEDIR) -o $@ $^