From 90e3c6f54fddf8762f7349414211a8c0f94bf594 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sat, 10 Oct 2015 01:51:33 +0300 Subject: Initial commit --- Makefile.cygwin | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Makefile.cygwin (limited to 'Makefile.cygwin') diff --git a/Makefile.cygwin b/Makefile.cygwin new file mode 100644 index 0000000..9312893 --- /dev/null +++ b/Makefile.cygwin @@ -0,0 +1,24 @@ +CXX=i686-pc-mingw32-g++ -static +CXXLINK=$(CXX) + +#DEBUG=-O0 -fno-inline -D_GLIBCXX_DEBUG -g -fstack-protector-all -fdata-sections + +DEBUG=-O3 -g -fexpensive-optimizations -ffast-math + +#DEBUG += -fno-tree-vectorize + +# -march=pentium -mno-sse -mno-sse2 -mno-sse3 -mmmx + +CPPFLAGS += $(SDL) + +CPPFLAGS += -ansi -Wall -W + +CXX += -mwin32 -mconsole -mno-cygwin +CPPFLAGS += -I/usr/include/mingw -mno-cygwin -I/usr/include/w32api +LDLIBS += -L/usr/local/lib -L/usr/lib/w32api -lwinmm + +# ^For cygwin. For anything else, remove this line. + + +include make.rules + -- cgit v1.2.3