Make $WORKDIR for tests/err
Without this, if there is a test that can compile, it will still fail because the WORKDIR does not exist: ``` pass.c(1): Fatal: Cannot open output file '../../testwrk/err/pass.s': No such file or directory ```
This commit is contained in:
committed by
Oliver Schmidt
parent
cdd23edd37
commit
04d16b3740
@@ -34,7 +34,10 @@ TESTS = $(patsubst %.c,$(WORKDIR)/%.s,$(SOURCES))
|
|||||||
|
|
||||||
all: $(TESTS)
|
all: $(TESTS)
|
||||||
|
|
||||||
$(WORKDIR)/%.s: %.c
|
$(WORKDIR):
|
||||||
|
$(call MKDIR,$(WORKDIR))
|
||||||
|
|
||||||
|
$(WORKDIR)/%.s: %.c | $(WORKDIR)
|
||||||
$(if $(QUIET),echo err/$*.s)
|
$(if $(QUIET),echo err/$*.s)
|
||||||
$(NOT) $(CC65) -o $@ $< $(NULLERR)
|
$(NOT) $(CC65) -o $@ $< $(NULLERR)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user