Tested the engine on linux

This commit is contained in:
2022-10-02 16:18:13 +11:00
parent cf76513c8a
commit b59696bebc
5 changed files with 22 additions and 5 deletions

View File

@@ -5,7 +5,13 @@ export CORE_OUTDIR = ../$(LIBDIR)
all: $(OUTDIR) $(LIBDIR) toy core
$(MAKE) -C source
ifeq ($(findstring CYGWIN, $(shell uname)),CYGWIN)
cp $(LIBDIR)/*.dll $(OUTDIR)
else ifeq ($(shell uname),Linux)
cp $(LIBDIR)/*.so $(OUTDIR)
else ifeq ($(OS),Windows_NT)
cp $(LIBDIR)/*.dll $(OUTDIR)
endif
toy: $(LIBDIR)
$(MAKE) -C Toy/source