diff options
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile index 8d5bc82..fecfca4 100644 --- a/test/Makefile +++ b/test/Makefile @@ -71,8 +71,14 @@ $(2): $(1) endef # Build rules for each test binary -- they all depend on the debug library +# Except when building on RISC OS, of course because then make utterly fails to +# detect that the debug library exists. define compile_test +ifeq ($(HOST),riscos) +$(2): $(1) +else $(2): $$(TOP)/$$(COMPONENT)-debug.a $(1) +endif @$$(ECHO) $$(ECHOFLAGS) "==> $(1)" @$$(CC) -c -g $$(DEBUGCFLAGS) -o $$@.o $(1) @$$(LD) -g -o $$@ $$@.o $$(LDFLAGS) -lparserutils-debug |