+# -----------------------------------------------------------------------------
+#
+# (c) 2009 The University of Glasgow
+#
+# This file is part of the GHC build system.
+#
+# To understand how the build system works and how to modify it, see
+# http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
+# http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
+#
+# -----------------------------------------------------------------------------
+
# Here's an interesting rule!
# The .hi file depends on the .o file,
@if [ ! -f $$@ ] ; then \
echo Panic! $$< exists, but $$@ does not.; \
exit 1; \
- else exit 0 ; \
fi
%.$$($1_way_)hi-boot : %.$$($1_way_)o-boot
@if [ ! -f $$@ ] ; then \
echo Panic! $$< exists, but $$@ does not.; \
exit 1; \
- else exit 0 ; \
fi
endef