diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-04-05 14:52:45 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-04-05 14:52:45 +0100 |
commit | 2f2a73beea5e9e66505ba2adba98be83452fc93b (patch) | |
tree | fb4d3ce845cba143fb8efa6cef0754729405cafa /Makefile | |
parent | ea9a2ff01d4ca599215a3bd943f7c5fd55d12f63 (diff) | |
download | netsurf-2f2a73beea5e9e66505ba2adba98be83452fc93b.tar.gz netsurf-2f2a73beea5e9e66505ba2adba98be83452fc93b.tar.bz2 |
Move some RISc OS specific Makefile rules into its Makefile.target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 33 |
1 files changed, 0 insertions, 33 deletions
@@ -633,39 +633,6 @@ $(RSRC_BEOS): $(RDEF_BEOS) $(RDEF_IMP_BEOS) $(Q)$(BEOS_RC) -I beos -o $@ $^ endif -ifeq ($(TARGET),riscos) - # Native RO build is different as 1) it can't do piping and 2) ccres on - # RO does not understand Unix filespec - ifeq ($(HOST),riscos) - define compile_template -!NetSurf/Resources/$(1)/Templates$$(TPLEXT): $(2) - $$(VQ)echo "TEMPLATE: $(2)" - $$(Q)$$(CC) -x c -E -P $$(CFLAGS) -o processed_template $(2) - $$(Q)$$(CCRES) processed_template $$(subst /,.,$$@) - $$(Q)$(RM) processed_template -CLEAN_TEMPLATES += !NetSurf/Resources/$(1)/Templates$$(TPLEXT) - - endef - else - define compile_template -!NetSurf/Resources/$(1)/Templates$$(TPLEXT): $(2) - $$(VQ)echo "TEMPLATE: $(2)" - $$(Q)mkdir -p !NetSurf/Resources/$(1) - $$(Q)$$(CC) -x c -E -P $$(CFLAGS) $(2) | $$(CCRES) - $$@ -CLEAN_TEMPLATES += !NetSurf/Resources/$(1)/Templates$$(TPLEXT) - - endef - endif - -clean-templates: - $(VQ)echo " CLEAN: $(CLEAN_TEMPLATES)" - $(Q)$(RM) $(CLEAN_TEMPLATES) -CLEANS += clean-templates - -$(eval $(foreach TPL,$(TPL_RISCOS), \ - $(call compile_template,$(notdir $(TPL)),$(TPL)))) -endif - clean-target: $(VQ)echo " CLEAN: $(EXETARGET)" $(Q)$(RM) $(EXETARGET) |