Fix for SF bug #1060749: focusWindowMS (macro.c) causes crash.
[nedit.git] / makefiles / Makefile.linux
blob662e54373f6f80d033eac626b469ef48d539c1f4
1 # $Id: Makefile.linux,v 1.13 2004/10/18 16:05:04 yooden Exp $
2 CC=cc
3 AR=ar
5 # For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS
6 # If using a Motif 2.1 compatible library (LessTif, OM) add
7 # a '-lXp' in front of the -lXext in LIBS. You also drop the
8 # -lXpm from that list.
9 # Ensure that the Motif/LessTif headers and libs are found!
10 # e.g. you may have to add something like 
11 #   -I/usr/lesstif/include  to CFLAGS and
12 #   -L/usr/lesstif/lib      to LIBS
14 # To evaluate an alternative layout for the Replace/Find dialog, add
15 # -DREPLACE_SCOPE to the CFLAGS. See the README file for more information.
17 # To test if the Motif library exports the runtime version
18 # add -DHAVE__XMVERSIONSTRING to CFLAGS
20 CFLAGS=-O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
22 ARFLAGS=-urs
24 LIBS= -L/usr/X11R6/lib -Wl,-Bstatic -lXm -Wl,-Bdynamic -lXp -lXpm -lXext -lXt -lSM -lICE -lX11 -lm
26 include Makefile.common
28 verify_config: check_tif_rule