diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-09-07 13:32:01 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-09-07 13:32:01 +0000 |
commit | 8b0c4f84fe51a4ec652fe410c3f20ea8a0d3aea8 (patch) | |
tree | aadff71725bdbdc6999be4bb5323986f0c96f675 /test | |
parent | f1cab3aed419f78d15acdc831ec7900ddfe6384a (diff) | |
download | libparserutils-8b0c4f84fe51a4ec652fe410c3f20ea8a0d3aea8.tar.gz libparserutils-8b0c4f84fe51a4ec652fe410c3f20ea8a0d3aea8.tar.bz2 |
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
Diffstat (limited to 'test')
-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 |