big refactor: i see i need header files

This commit is contained in:
huaqo-games
2025-11-02 11:23:26 +01:00
parent 297a835780
commit c1a2448126
38 changed files with 582 additions and 560 deletions
+3 -3
View File
@@ -29,11 +29,11 @@ EXTERNAL_FLAGS = \
$(EXTERNAL_RAYGUI)
ifeq ($(OS), Windows_NT)
SRC = src\main.c
SRC = $(wildcard src\*.c)
TARGET = bin\win\game.exe
RAYLIB_FLAGS = -I%RAYLIB% -L%RAYLIB% -lraylib -lopengl32 -lgdi32 -lwinmm
else
SRC = src/main.c
SRC = $(wildcard src/*.c)
TARGET = bin/osx/game
RAYLIB_FLAGS = $(shell pkg-config --libs --cflags raylib)
endif
@@ -47,4 +47,4 @@ clean:
rm -f $(TARGET)
run: clean build
./$(TARGET)
./$(TARGET)