summaryrefslogtreecommitdiff
path: root/makefiles/makeinclude.mingw32
blob: 8a24aed852aa1b3f900ace227893454a6eeff5c0 (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
# 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 -lglu32 -lopengl32 -lmsvcrt -lm -mwindows

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