mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
build library
This commit is contained in:
@@ -21,6 +21,9 @@ else ifeq ($(shell uname),Linux)
|
|||||||
else ifeq ($(OS),Windows_NT)
|
else ifeq ($(OS),Windows_NT)
|
||||||
LIBLINE =-Wl,--out-implib=../$(TOY_OUTDIR)/lib$(OUTNAME).dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive $(OBJ) -Wl,--no-whole-archive
|
LIBLINE =-Wl,--out-implib=../$(TOY_OUTDIR)/lib$(OUTNAME).dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive $(OBJ) -Wl,--no-whole-archive
|
||||||
OUT=../$(TOY_OUTDIR)/$(OUTNAME).dll
|
OUT=../$(TOY_OUTDIR)/$(OUTNAME).dll
|
||||||
|
else ifeq ($(shell uname),Darwin)
|
||||||
|
LIBLINE = $(OBJ)
|
||||||
|
OUT=../$(TOY_OUTDIR)/lib$(OUTNAME).dylib
|
||||||
else
|
else
|
||||||
@echo "Platform test failed - what platform is this?"
|
@echo "Platform test failed - what platform is this?"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user