Skip to content

Commit

Permalink
Added windows build in Makefile
Browse files Browse the repository at this point in the history
 On branch master
 Changes to be committed:
 	modified:   src/Makefile
  • Loading branch information
BlatantlyX committed Jun 5, 2015
1 parent 917410d commit d2de3fe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
OBJECTS = creature.o dod.o dodgame.o dungeon.o enhanced.o object.o oslink.o parser.o player.o sched.o viewer.o
OUTPUT = ../dod


#CXX = clang++-3.6
ifeq ($(OS),Windows_NT)
OUTPUT = ../dod.exe
CCLINK = -lopengl32 -lmingw32 -lSDL2main -lSDL2 -mwindows -lSDL2_mixer
else
OUTPUT = ../dod
CCLINK = -lGL -lSDL2 -lSDL2_mixer
endif
#RM = rm
# -g is debug
CXXFLAGS = -std=c++11 -c
Expand Down

0 comments on commit d2de3fe

Please sign in to comment.