%.$(way_)hi : %.$(way_)o
@if [ ! -f $@ ] ; then \
- echo Panic! $< exists, but $@ does not. \
+ echo Panic! $< exists, but $@ does not.; \
exit 1; \
else exit 0 ; \
fi
%.$(way_)hi : %.$(way_)hc
@if [ ! -f $@ ] ; then \
- echo Panic! $< exists, but $@ does not. \
+ echo Panic! $< exists, but $@ does not.; \
exit 1; \
else exit 0 ; \
fi
ifneq "$(BootingFromHc)" "YES"
%_hsc.c %_hsc.h %.hs : %.hsc
$(HSC2HS) $(HSC2HS_OPTS) $<
+ @touch $(patsubst %.hsc,%_hsc.c,$<)
endif
#-----------------------------------------------------------------------------
# $(JADE) -t sgml -V html-index -d $(SGMLSTYLESHEET) -c $(DOCBOOK_CATALOG) $<
# $(PERL) $(COLLATEINDEX) -N -o index.sgml
$(SGML2HTML) $(SGML2HTML_OPTS) $<
+# touch the .html file so that it is seen to be built
+ @touch $@
%.html : %.tex
@$(RM) $@
%.$(way_)o : %.$(way_)rc
@$(RM) $@
windres $< $@
+
+#-----------------------------------------------------------------------------
+# Preprocessor suffix rule
+
+% : %.pp
+ rm -f $@
+ $(CPP) $(CPP_OPTS) -x c $< | $(SED) -e '/^#/d' > $@