1 Subject: my local make target
5 makefiles/Makefile.bertw | 57 +++++++++++++++++++++++++++++++++++++++++++++++
6 1 file changed, 57 insertions(+)
8 diff --quilt /dev/null new/makefiles/Makefile.bertw
10 +++ new/makefiles/Makefile.bertw
12 +# $Id: Makefile.linux,v 1.11 2003/05/20 00:27:56 n8gray Exp $
13 +CC=gcc -U_FORTIFY_SOURCE
16 +# For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS
17 +# If using a Motif 2.1 compatible library (LessTif, OM) add
18 +# a '-lXp' in front of the -lXext in LIBS. You also drop the
19 +# -lXpm from that list.
20 +# Ensure that the Motif/LessTif headers and libs are found!
21 +# e.g. you may have to add something like
22 +# -I/usr/lesstif/include to CFLAGS and
23 +# -L/usr/lesstif/lib to LIBS
25 +# To evaluate an alternative layout for the Replace/Find dialog, add
26 +# -DREPLACE_SCOPE to the CFLAGS. See the README file for more information.
28 +# To test if the Motif library exports the runtime version
29 +# add -DHAVE__XMVERSIONSTRING to CFLAGS
33 + CFLAGS += -O0 -g -DDEBUG
35 + ifndef DEBUG_NO_STACKDUMP
36 + CFLAGS += -DDEBUG_STACK
38 + ifndef DEBUG_NO_DISASM
39 + CFLAGS += -DDEBUG_ASSEMBLY
41 + ifndef DEBUG_NO_YACC
42 + CFLAGS += -DYYDEBUG=1
49 +CFLAGS += -W -Wall -Wno-unused -Wno-sign-compare -Wno-strict-aliasing
50 +CFLAGS += -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DEDITRES
58 +LIBS += -lXm -lXmu -lXp -lXext -lXt -lSM -lICE -lX11 -lm
61 + CFLAGS += -I/home/$(USER)/opt/openmotif-2.3.1/include
62 + LIBS += -Wl,-R,/home/$(USER)/opt/openmotif-2.3.1/lib
63 + LIBS += -L/home/$(USER)/opt/openmotif-2.3.1/lib
66 +include Makefile.common
68 +verify_config: check_tif_rule