initial, building using mingw32 under cygwin, have to add mingw sys-root/bin to PATH
This commit is contained in:
commit
d0c8bd87ff
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
clock.exe
|
12
Makefile
Normal file
12
Makefile
Normal 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
|
Loading…
x
Reference in New Issue
Block a user