Skip to content

Commit

Permalink
updated libs and bug fix in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
George-RG committed Sep 15, 2022
1 parent f249094 commit 813af07
Show file tree
Hide file tree
Showing 3 changed files with 1,181 additions and 878 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ else
endif

ifeq ($(PLATFORM),WIN)
LDFLAGS += -lgdi32 -lwinmm -lopengl32 -lpthread -L$(LIB)/windows/ $(LIBS)
LDFLAGS += -L$(LIB)/windows/ $(LIBS) -lgdi32 -lwinmm -lopengl32 -lpthread
CC = x86_64-w64-mingw32-gcc
CXX = x86_64-w64-mingw32-g++

EXEC :=$(EXEC).exe
else ifeq ($(PLATFORM),LINUX)
LDFLAGS += -L$(LIB)/linux -lGL -lm -lpthread -ldl -lrt -lX11 $(LIBS)
LDFLAGS += -L$(LIB)/linux $(LIBS) -lGL -lpthread -ldl -lrt -lX11

WIN_PATH = ./
else ifeq ($(PLATFORM),WEB)
Expand All @@ -70,7 +70,7 @@ else ifeq ($(PLATFORM),WEB)

SHELL := /bin/bash
CC := emcc
CXX := emcc
CXX := em++
endif

$(SRC)/%.opp: $(SRC)/%.cpp
Expand Down
Loading

0 comments on commit 813af07

Please sign in to comment.