:(
Build libsm64 / Build libsm64 for linux (push) Successful in 34s
Build libsm64 / Build libsm64 for web (push) Successful in 32s
Build libsm64 / Build libsm64 for windows (push) Successful in 24s

This commit is contained in:
2026-05-31 21:57:50 -05:00
parent ede2099ff5
commit 40bee0f224
9 changed files with 68 additions and 42 deletions
+3 -2
View File
@@ -95,7 +95,8 @@ test/level.c: ./import-test-collision.py
test/main.cpp test/gl20/gl20_renderer.c test/gl33core/gl33core_renderer.c: test/level.c
SDL2_CFLAGS := $(shell sdl2-config --cflags)
SDL2_RAW_CFLAGS := $(shell sdl2-config --cflags)
SDL2_CFLAGS := $(filter-out -Dmain=SDL_main,$(SDL2_RAW_CFLAGS))
$(BUILD_DIR)/test/%.o: test/%.c
$(CC) -c $(CFLAGS) $(SDL2_CFLAGS) -I src/decomp/include -o $@ $<
@@ -105,7 +106,7 @@ $(BUILD_DIR)/test/%.o: test/%.cpp
$(TEST_FILE): $(LIB_FILE) $(TEST_OBJS)
ifdef WINDOWS_BUILD
$(CXX) -o $@ $(TEST_OBJS) $(LIB_FILE) -lglew32 -lopengl32 -lSDL2 -lSDL2main -lm
$(CXX) -o $@ $(TEST_OBJS) $(LIB_FILE) -lglew32 -lopengl32 -lSDL2 -lm
else ifdef MACOS_BUILD
$(CXX) -o $@ $(TEST_OBJS) $(LIB_FILE) -framework OpenGL -lGLEW -lSDL2 -lSDL2main -lm -lpthread
else