diff options
Diffstat (limited to 'utils/mkdirhier/ghc.mk')
-rw-r--r-- | utils/mkdirhier/ghc.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/mkdirhier/ghc.mk b/utils/mkdirhier/ghc.mk new file mode 100644 index 0000000000..59ad53fe69 --- /dev/null +++ b/utils/mkdirhier/ghc.mk @@ -0,0 +1,11 @@ +$(MKDIRHIER) : utils/mkdirhier/mkdirhier.sh + -mkdir $(INPLACE) + -mkdir $(INPLACE_BIN) + -mkdir $(INPLACE_LIB) + $(RM) -f $@ + echo '#!$(SHELL)' >> $@ + cat utils/mkdirhier/mkdirhier.sh >> $@ + $(EXECUTABLE_FILE) $@ + +$(eval $(call all-target,utils/mkdirhier,$(MKDIRHIER))) +$(eval $(call clean-target,utils/mkdirhier,,$(MKDIRHIER))) |