7f69caf166
the libtiff save error (thanks to Eugene Ossintsev). PR: 45962 Submitted by: treif@mayn.de
37 lines
1 KiB
Text
37 lines
1 KiB
Text
--- Makefile.orig Tue Mar 10 00:00:00 1998
|
|
+++ Makefile Fri Nov 29 18:20:50 2002
|
|
@@ -16,8 +16,8 @@
|
|
#
|
|
##############################################################################
|
|
|
|
-CPP = g++
|
|
-CC = gcc
|
|
+CPP = c++
|
|
+CC = cc
|
|
|
|
# -c: don't link yet
|
|
# -g: produce debugging-information, don't use together with link_flag -s
|
|
@@ -28,15 +28,19 @@
|
|
# -c: don't link yet
|
|
#COMPILE_FLAGS = -O3 -m486 -c
|
|
|
|
+.if exists(${PREFIX}/include/X11/forms.h)
|
|
+XFORMSINC = -I${PREFIX}/include/X11
|
|
+.endif
|
|
+
|
|
# -O: normal optimization level -c: don't link yet
|
|
-COMPILE_FLAGS = -O -c
|
|
+COMPILE_FLAGS = ${CFLAGS} -I${LOCALBASE}/include -I${PREFIX}/include ${XFORMSINC} -c
|
|
|
|
# -s: DESTROYS symbol-table
|
|
-LINK_FLAGS = -s
|
|
+#LINK_FLAGS = -s
|
|
|
|
|
|
-SYSLIB = -L/usr/X11R6/lib -lX11 -lm
|
|
-LIBS = -L/usr/lib -ltiff -ljpeg -lgz -lforms -lXpm $(SYSLIB)
|
|
+SYSLIB = -L${PREFIX}/lib -lX11 -lGL -lGLU -lm
|
|
+LIBS = -L${LOCALBASE}/lib -ltiff -ljpeg -lz -lforms -lXpm $(SYSLIB)
|
|
|
|
OBJECTS = xmrm.o xmrm_cb.o io.o morphvec.o init.o wavemorph.o wave_rts.o wave.o\
|
|
areas.o xmrm_main.o
|