From 8b0c4f84fe51a4ec652fe410c3f20ea8a0d3aea8 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 7 Sep 2008 13:32:01 +0000 Subject: Native RO makefile. Don't expect anything other than make/make debug to actually work thanks to insane amounts of buggy behaviour in the OS/runtime that I can't find the energy to work around. svn path=/trunk/libparserutils/; revision=5270 --- test/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/Makefile') 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 -- cgit v1.2.3