summaryrefslogtreecommitdiff
path: root/makefiles/makeinclude.mingw32
blob: 3390f113a33614ac1f662c13159ad443d2a202f6 (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
35
36
# 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
CXXFLAGS_D      =-Wall -g -DDEBUG -DWIN32

# program to make the archive:
LIBNAME         =libfltk.a
LIBNAME_D       =libfltk_d.a
AR              =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