Browse Source

Allow make -B / make DEBUG=1 -B to run without errors.

Steve Thielemann 5 years ago
parent
commit
ac3d8cc174
1 changed files with 3 additions and 3 deletions
  1. 3 3
      GNUmakefile

+ 3 - 3
GNUmakefile

@@ -173,13 +173,13 @@ OBJECTS := ${OBJDIR}ODAuto${OBJFILE}\
 #         ${OBJDIR}odsys${OBJFILE}\	this file is missing
 
 ${OBJDIR}:
-	mkdir ${OBJDIR}
+	mkdir -p ${OBJDIR}
 
 ${LIBDIR}:
-	mkdir ${LIBDIR}
+	mkdir -p ${LIBDIR}
 
 ${EXEDIR}:
-	mkdir ${EXEDIR}
+	mkdir -p ${EXEDIR}
 
 $(OBJDIR)%$(OBJFILE) : %.c
 	$(CC) $(CFLAGS) -o $@ -c $<