mirror of
https://github.com/cc65/cc65.git
synced 2024-11-16 18:08:04 +00:00
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:
parent
cdd23edd37
commit
04d16b3740
@ -34,7 +34,10 @@ TESTS = $(patsubst %.c,$(WORKDIR)/%.s,$(SOURCES))
|
||||
|
||||
all: $(TESTS)
|
||||
|
||||
$(WORKDIR)/%.s: %.c
|
||||
$(WORKDIR):
|
||||
$(call MKDIR,$(WORKDIR))
|
||||
|
||||
$(WORKDIR)/%.s: %.c | $(WORKDIR)
|
||||
$(if $(QUIET),echo err/$*.s)
|
||||
$(NOT) $(CC65) -o $@ $< $(NULLERR)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user