diff options
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -34,11 +34,13 @@ $(OUT): $(OBJ) $(SOUT): $(OBJ) $(QUIET_AR)$(AR) rcs $@ $^ -$(BUILD)%.o: $(SRC)%.c - @mkdir -p $(BUILD) +$(BUILD)%.o: $(SRC)%.c | $(BUILD) @$(MAKEDEPEND) -o $(<:$(SRC)%.c=$(BUILD).%.d) $< $(QUIET_CC)$(CC) $(ALLCFLAGS) -c -fPIC -o $@ $< +$(BUILD): + @mkdir -p $(BUILD) + $(SRC)screen.c: $(SRC)parser.h $(SRC)%.c: $(SRC)%.l |