From 2f2a73beea5e9e66505ba2adba98be83452fc93b Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 5 Apr 2015 14:52:45 +0100 Subject: Move some RISc OS specific Makefile rules into its Makefile.target --- Makefile | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index eef22af4b..3431ac905 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.1