X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=programs%2Fsmall-things%2FMakefile;h=ead349c2971a3d0188d051a8e760fd8730accae8;hb=4ad624fd6d8bf4db02fe531b51f363ba9d89707e;hp=686e7d15c7e529108ae027737a9d48779d11c6e7;hpb=d6a1a234777d52614885de62fd64d1f3119d238b;p=h316.git diff --git a/programs/small-things/Makefile b/programs/small-things/Makefile index 686e7d1..ead349c 100644 --- a/programs/small-things/Makefile +++ b/programs/small-things/Makefile @@ -12,12 +12,12 @@ default: all all: $(foreach prog, $(PROGRAMS),$(BUILD_DIR)/$(prog).obj) $(BUILD_DIR)/%.obj:$(SRC_DIR)/%.f - @if [ ! -d $(BUILD_DIR) ]; then mkdir $(BUILD_DIR); fi + @if [ ! -d $(BUILD_DIR) ]; then mkdir -p $(BUILD_DIR); fi @$(FRTN_CMD) "$(subst $$,\$$,$^)" &&\ mv "$(notdir $(basename $(subst $$,\$$,$^))).obj" $(BUILD_DIR) $(BUILD_DIR)/%.obj:$(SRC_DIR)/%.asm - @if [ ! -d $(BUILD_DIR) ]; then mkdir $(BUILD_DIR); fi + @if [ ! -d $(BUILD_DIR) ]; then mkdir -p $(BUILD_DIR); fi @$(ASM_CMD) "$(subst $$,\$$,$^)" &&\ mv "$(notdir $(basename "\"$(subst $$,\$$,$^)\"")).obj" $(BUILD_DIR)