summaryrefslogtreecommitdiff
path: root/src/Makefile.sol.mingw
blob: 5af27eba96e46250cf965ae3d266d3c6bcf28c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC = i586-mingw32msvc-gcc
CXX = i586-mingw32msvc-g++
AR = i586-mingw32msvc-ar
RANLIB = i586-mingw32msvc-ranlib
CPPFLAGS = -I../include -DFORCE64 -I../../Baltisot/include `/usr/local/win32/bin/sdl-config --cflags` -I/usr/local/win32/include -O3 -mwindows
LDFLAGS = ../lib/mogltk-sol.a ../../Baltisot/lib/Baltisot-sol.a -lopengl32 -lglu32 -lz `/usr/local/win32/bin/sdl-config --libs`
OBJECTS = test.o
TARGET = test.exe

all: $(TARGET)

$(TARGET): $(OBJECTS)
	$(CXX) -o $(TARGET) $(OBJECTS) $(LDFLAGS)

clean:
	rm -f *.o $(TARGET)