X-Git-Url: http://gitweb.hachti.de/?p=h316.git;a=blobdiff_plain;f=lib%2Ffortran%2FMakefile;h=4a0afaf4e533975f1413c245eb6ac4498a491f57;hp=d2c768c5b2a32d2483a7ea8c18975bf587be2b00;hb=4ad624fd6d8bf4db02fe531b51f363ba9d89707e;hpb=6b022f3519ccbe4635ff6fc9f7bd87c89862cb85 diff --git a/lib/fortran/Makefile b/lib/fortran/Makefile index d2c768c..4a0afaf 100644 --- a/lib/fortran/Makefile +++ b/lib/fortran/Makefile @@ -51,7 +51,7 @@ $(OBJECTS): $(OBJECT_FILES) $(OBJECT_FILES) : $(OBJ_DIR)/%.obj : $(SRC_DIR)/%.asm # @echo Building: $(subst $$,\$$,$@) - @if [ ! -d $(OBJ_DIR) ]; then mkdir $(OBJ_DIR); fi + @if [ ! -d $(OBJ_DIR) ]; then mkdir -p $(OBJ_DIR); fi @ rm -f $@ @ cd $(OBJ_DIR) && $(ASM_COMMAND) ../$(subst $$,\$$,$^) $(LISTING) @ cd $(OBJ_DIR) && $(LDC_COMMAND) $(notdir $(subst $$,\$$,$@))