initial, building using mingw32 under cygwin, have to add mingw sys-root/bin to PATH

This commit is contained in:
josh committed 2012-03-04 19:52:47 -05:00
commit d0c8bd87ff
3 files changed
+28

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
PREFIX := i686-pc-mingw32
CC := $(PREFIX)-gcc
CXX := $(PREFIX)-g++
LD := $(PREFIX)-ld
CPPFLAGS := -I/c/apps/SFML-1.6/include -mwindows
LDFLAGS := -L/c/apps/SFML-1.6/lib -lsfml-system -static-libstdc++ -static-libgcc
all: clock
clock: clock.cpp
$(CXX) -o $@ -I/c/apps/SFML-1.6/include $^ -L/c/apps/SFML-1.6/lib -static-libgcc -static-libstdc++ -lsfml-system