summaryrefslogtreecommitdiff
path: root/Makefile.sources
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-12-09 11:12:58 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-12-09 11:12:58 +0000
commit71db29f5b05659a760f91ce0a5f0901786d0fea3 (patch)
tree25127d339423c7453412e98a28776c967de1f227 /Makefile.sources
parent3e715853118e88880f1783d6baffd6638f4ccf63 (diff)
downloadnetsurf-71db29f5b05659a760f91ce0a5f0901786d0fea3.tar.gz
netsurf-71db29f5b05659a760f91ce0a5f0901786d0fea3.tar.bz2
Build !Run at compile time. This ensures that the WimpSlot size is always correct.
svn path=/trunk/netsurf/; revision=5889
Diffstat (limited to 'Makefile.sources')
-rw-r--r--Makefile.sources10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.sources b/Makefile.sources
index a4b94dfcd..bba47dd14 100644
--- a/Makefile.sources
+++ b/Makefile.sources
@@ -161,6 +161,16 @@ CLEANS += clean-intermediates
# Finally select the correct set of sources for this build...
ifeq ($(TARGET),riscos)
+!NetSurf/!Run$(RUNEXT): riscos/scripts/Run
+ $(VQ)echo " MAKERUN: $@"
+ $(Q)$(MAKERUN) $(EXETARGET) $< $@
+POSTEXES += !NetSurf/!Run$(RUNEXT)
+
+clean-run:
+ $(VQ)echo " CLEAN: !NetSurf/!Run$(RUNEXT)"
+ $(Q) $(RM) !NetSurf/!Run$(RUNEXT)
+CLEANS += clean-run
+
SOURCES := $(S_COMMON) $(S_IMAGE) $(S_BROWSER) $(S_PDF) $(S_RISCOS)
EXETARGET := !NetSurf/!RunImage$(EXEEXT)
endif