Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wovo committed Apr 15, 2019
1 parent 6e85868 commit c20e0da
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,13 @@ HEADERS += targets/hwlib-native-windows.hpp
HEADERS += targets/hwlib-native-linux.hpp
HEADERS += targets/hwlib-none.hpp

SEARCH += $(HWLIB)/../SFML-2.5.1/include
LINKER_FLAGS += -L$(HWLIB)/../SFML-2.5.1/lib
LINKER_FLAGS += -lsfml-graphics-s -lsfml-window-s -lsfml-system-s
LINKER_FLAGS += -lopengl32 -lgdi32 -lws2_32 -lwinmm
DEFINES += -DSFML_STATIC
ifeq ($(OS),Windows_NT)
SEARCH += $(HWLIB)/../SFML-2.5.1/include
LINKER_FLAGS += -L$(HWLIB)/../SFML-2.5.1/lib
LINKER_FLAGS += -lsfml-graphics-s -lsfml-window-s -lsfml-system-s
LINKER_FLAGS += -lopengl32 -lgdi32 -lws2_32 -lwinmm
DEFINES += -DSFML_STATIC
else
LINKER_FLAGS += -lsfml-graphics -lsfml-window -lsfml-system
DEFINES += -DSFML_STATIC
endif

0 comments on commit c20e0da

Please sign in to comment.