summaryrefslogtreecommitdiff
path: root/makefiles/makeinclude.mingw32
blob: 02027ac5ff58c0d90158e302fae3b1bd46e77bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Makeinclude file for the Cygwin B19 release of GCC for Windoze

# This will compile the code to directly call Windows interfaces
# and does not use the CYGWIN library.

# Thanks to Philipp Knirsch at Lucent and Carl Thompson

prefix          =/usr/local
exec_prefix     =${prefix}
bindir          =${exec_prefix}/bin
includedir      =${prefix}/include
libdir          =${exec_prefix}/lib
srcdir          =.

# compiler names:
CXX     =g++
CC      =g++

# flags for C++ compiler:
CFLAGS          =-Wall -O2 -DWIN32
CXXFLAGS        =-Wall -O2 -DWIN32

# program to make the archive:
LIBNAME         =libfltk.a
LIBCOMMAND      =ar -ruv
RANLIB          =ranlib

# libraries to link with:
LDLIBS  =-lgdi32 -luser32 -lm -mwindows

# libraries to link with when using GL:
GLDLIBS =-lgdi32 -luser32 -lglu32 -lopengl32 -lm -mwindows

INSTALL =/CYGNUS/B19/H-I386~1/BIN/install -c