summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2003-04-30 00:02:23 +0000
committerJuanma Barranquero <lekktu@gmail.com>2003-04-30 00:02:23 +0000
commit93a16fa8a8fd1fccfd2cb15cd16681f95bd3d701 (patch)
tree1145593121e39470b5263528ccd184f269d06b1a /lwlib
parent85a2313482e84cb3498b1ac62c0ff0f2548b993d (diff)
downloademacs-93a16fa8a8fd1fccfd2cb15cd16681f95bd3d701.tar.gz
Make things function properly in case both LessTif and Open Motif are installed.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/lwlib/Makefile.in b/lwlib/Makefile.in
index 0115ab9c082..11368819f4a 100644
--- a/lwlib/Makefile.in
+++ b/lwlib/Makefile.in
@@ -9,6 +9,7 @@ C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
CC=@CC@
CFLAGS=@CFLAGS@
CPP=@CPP@
+CPPFLAGS=@CPPFLAGS@
LN_S=@LN_S@
RANLIB=@RANLIB@
# See below--@X_TOOLKIT_TYPE@ is used below.
@@ -31,11 +32,11 @@ TOOLKIT_DEFINES = -DUSE_$(USE_X_TOOLKIT)
# ../src is needed to find config.h.
ALL_CFLAGS= $(C_SWITCH_SITE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \
- $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) $(CPPFLAGS) $(CFLAGS) \
+ $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) $(CFLAGS) \
-DHAVE_CONFIG_H -Demacs -I. -I../src -I${srcdir} -I${srcdir}/../src
.c.o:
- $(CC) -c ${ALL_CFLAGS} $<
+ $(CC) -c $(CPPFLAGS) ${ALL_CFLAGS} $<
all:: liblw.a