summaryrefslogtreecommitdiff
path: root/utils/mkdirhier/ghc.mk
blob: 59ad53fe69cce57aa9766253f3dafe774be16d0f (plain)
1
2
3
4
5
6
7
8
9
10
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)))