mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-18 21:45:52 +01:00
Compare commits
3 Commits
main
...
f5450232b4
| Author | SHA1 | Date | |
|---|---|---|---|
| f5450232b4 | |||
| 9f7d1fb57c | |||
| 2186ec2942 |
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@@ -32,6 +32,6 @@ jobs:
|
|||||||
path: lib/obj/
|
path: lib/obj/
|
||||||
key: ${{runner.os}}-lib/obj-${{github.sha}}
|
key: ${{runner.os}}-lib/obj-${{github.sha}}
|
||||||
restore-keys: ${{runner.os}}-lib/obj-
|
restore-keys: ${{runner.os}}-lib/obj-
|
||||||
- run: make -j libs
|
- run: make -j libs -B
|
||||||
- run: make -j all
|
- run: make -j all
|
||||||
- run: make -j test
|
- run: make -j test
|
||||||
|
|||||||
4
Makefile
4
Makefile
@@ -24,7 +24,7 @@ LDFLAGS += -fsanitize=address -ftrapv
|
|||||||
endif
|
endif
|
||||||
CPPFLAGS += -Iinclude -Ilib/glad/include -Ilib/glfw/include -Ilib/libarchive/libarchive
|
CPPFLAGS += -Iinclude -Ilib/glad/include -Ilib/glfw/include -Ilib/libarchive/libarchive
|
||||||
LDFLAGS += -Llib/obj/glfw/src -Llib/obj/libarchive/libarchive
|
LDFLAGS += -Llib/obj/glfw/src -Llib/obj/libarchive/libarchive
|
||||||
LDLIBS += -lm -lglfw3 -larchive
|
LDLIBS += -lglfw3 -larchive -lm
|
||||||
|
|
||||||
# detect if we're compiling on Windows, meaning
|
# detect if we're compiling on Windows, meaning
|
||||||
# a lot of things considered "standard" are unavailable.
|
# a lot of things considered "standard" are unavailable.
|
||||||
@@ -67,7 +67,7 @@ bin/$(NAME): $(OBJ)
|
|||||||
@$(CC) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
@$(CC) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
||||||
|
|
||||||
# link together a testing binary
|
# link together a testing binary
|
||||||
bin/TEST_$(NAME): $(TOBJ) $(filter-out main.o,$(OBJ))
|
bin/TEST_$(NAME): $(TOBJ) $(filter-out obj/src/main.o,$(OBJ))
|
||||||
$(info [CC/LD] $@)
|
$(info [CC/LD] $@)
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
@$(CC) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
@$(CC) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
||||||
|
|||||||
Reference in New Issue
Block a user