Moved code and assets for the game to a seperate folder. Moved jansson and raylib to third_party.

This commit is contained in:
2025-12-16 11:47:55 +01:00
parent fd2dbf232d
commit 8cdbd5b162
63 changed files with 14 additions and 14 deletions

View File

@@ -12,7 +12,7 @@ else
endif
BUILD_DIR := build/$(PLATFORM)
CFLAGS := -g -Isrc -Wextra -MMD -MP -Wall -pedantic
CFLAGS := -g -Isrc -Isrc/game -Wextra -MMD -MP -Wall -pedantic
LDFLAGS := -flto -Wl,--gc-sections
LIB_DIR := $(abspath libs/$(PLATFORM))
@@ -43,7 +43,7 @@ run: $(BIN)
$(BIN): $(OBJ)
@mkdir -p $(dir $@)
@cp -r $(SRC_DIR)/assets $(BUILD_DIR)
@cp -r $(SRC_DIR)/game/assets $(BUILD_DIR)/game/assets
@cp -r libs $(BUILD_DIR)
@$(CC) $(LDFLAGS) $(OBJ) -o $@ $(LIBS)