1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-22 22:53:24 +01:00

fix: Fix incorrect file specified error when building in WSL from CLion

This commit is contained in:
Robin Linden 2020-10-24 12:52:25 +02:00
parent 22d60232fb
commit 26b5fe8f9d
No known key found for this signature in database
GPG Key ID: 601A604B7E605776

View File

@ -70,7 +70,7 @@ $(BUILD_DIR)/%.o: $(SRC_DIR)/%.c
fi
@echo " CC $(@:$(BUILD_DIR)/%=%)"
@$(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:
rm -f $(BUILD_DIR)/*.d $(BUILD_DIR)/*.o $(BUILD_DIR)/toxic