initial, building using mingw32 under cygwin, have to add mingw sys-root/bin to PATH
This commit is contained in:
commit
d0c8bd87ff
3 files changed
+28
No files matched your search
@@ -0,0 +1 @@
|
|||||||
|
clock.exe
|
||||||
@@ -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
|
||||||
Reference in new issue
Block a user