rewrote set handling, now compiles
[riven-wahrk.git] / src / Makefile.mingw
bloba7ba7794a183eda154ea76c752fc5235e3807825
2 CPPFLAGS= -ggdb -Wall -I. -Iwin32/ -I-  -DLIBCONFIG_STATIC -D_WIN32_WINNT=0x0501
3 LDFLAGS=  -ggdb -Lwin32/  -lopengl32 -lgdi32 -lglu32 -lComCtl32  -lconfig++32  #-Wl,-subsystem,windows
5 CPP=g++
7 OBJS=Card.o\
8         Common.o\
9         File.o\
10         Game.o\
11         Hotspot.o\
12         Mohawk.o\
13         Name.o\
14         Plst.o\
15         Scene.o\
16         Script.o\
17         Stack.o\
18         Tbmp.o\
19         Twav.o\
20         Variable.o\
21         iniparser.o\
22         dictionary.o\
23         win32/GLee.o\
24         win32/Main.o\
25         win32/resource.o
28 all: riven-wahrk.exe
30 riven-wahrk.exe: $(OBJS)
31         del $@
32         $(CPP) -o $@ $^ $(LDFLAGS)
34 win32/resource.o: win32/resource.rc
35         windres win32/resource.rc -o win32/resource.o
37 clean:
38         del *.o win32\*.o riven-wahrk.exe