system.mk

changeset 7
6b608d438597
parent 6
f73065173121
child 8
c1994196683f
equal deleted inserted replaced
6:f73065173121 7:6b608d438597
20 X11_PREFIX=/usr/X11R6 20 X11_PREFIX=/usr/X11R6
21 21
22 # SunOS/Solaris 22 # SunOS/Solaris
23 #X11_PREFIX=/usr/openwin 23 #X11_PREFIX=/usr/openwin
24 24
25 X11_LIBS=$(X11_PREFIX)/lib 25 X11_LIBS=-L$(X11_PREFIX)/lib
26 X11_INCLUDES=$(X11_PREFIX)/include 26 X11_INCLUDES=-I$(X11_PREFIX)/include
27 X11_DEFINES= 27 X11_DEFINES=
28 28
29 29
30 ## 30 ##
31 ## C compiler 31 ## C compiler
32 ## 32 ##
33 33
34 CC=gcc 34 CC=gcc
35 35
36 ANSI_SOURCE=-ansi 36 ANSI_SOURCE=-ansi
37 BSD_SOURCE=-ansi -D_BSD_SOURCE 37 XOPEN_SOURCE=-ansi -D_XOPEN_SOURCE
38 XOPENEXT_SOURCE=-ansi -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
39 38
40 # Same as '-Wall -pedantic-errors' without '-Wunused' as callbacks often 39 # Same as '-Wall -pedantic-errors' without '-Wunused' as callbacks often
41 # have unused variables. 40 # have unused variables.
42 WARN= -W -Wimplicit -Wreturn-type -Wswitch -Wcomment \ 41 WARN= -W -Wimplicit -Wreturn-type -Wswitch -Wcomment \
43 -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized \ 42 -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized \

mercurial