mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 22:03:02 +01:00
fix: Fix incorrect file specified error when building in WSL from CLion
This commit is contained in:
parent
22d60232fb
commit
26b5fe8f9d
2
Makefile
2
Makefile
@ -70,7 +70,7 @@ $(BUILD_DIR)/%.o: $(SRC_DIR)/%.c
|
|||||||
fi
|
fi
|
||||||
@echo " CC $(@:$(BUILD_DIR)/%=%)"
|
@echo " CC $(@:$(BUILD_DIR)/%=%)"
|
||||||
@$(CC) $(CFLAGS) -o $(BUILD_DIR)/$*.o -c $(SRC_DIR)/$*.c
|
@$(CC) $(CFLAGS) -o $(BUILD_DIR)/$*.o -c $(SRC_DIR)/$*.c
|
||||||
@$(CC) -MM $(CFLAGS) $(SRC_DIR)/$*.c > $(BUILD_DIR)/$*.d
|
@$(CC) -MM $(CFLAGS) $(SRC_DIR)/$*.c >$(BUILD_DIR)/$*.d
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(BUILD_DIR)/*.d $(BUILD_DIR)/*.o $(BUILD_DIR)/toxic
|
rm -f $(BUILD_DIR)/*.d $(BUILD_DIR)/*.o $(BUILD_DIR)/toxic
|
||||||
|
Loading…
Reference in New Issue
Block a user