Don't error out if build/ directory already exists.
This commit is contained in:
parent
44d0f3cfa2
commit
729fd12fbf
|
@ -65,7 +65,7 @@ $(PROG): $(BUILD) $(OBJ)
|
|||
size $(PROG)
|
||||
|
||||
$(BUILD):
|
||||
mkdir $@
|
||||
mkdir -p $@
|
||||
|
||||
$(BUILD)/%.o: %.c
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
|
Loading…
Reference in New Issue