mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
7c26a79b27
Submitted by: "Pedro F. Giffuni" <giffunip@yahoo.com>
73 lines
2.1 KiB
Plaintext
73 lines
2.1 KiB
Plaintext
--- cgx_1.4/src/Makefile.orig Tue Sep 13 02:24:07 2005
|
|
+++ cgx_1.4/src/Makefile Sun Nov 6 22:42:56 2005
|
|
@@ -1,13 +1,13 @@
|
|
CFLAGS = -O2 -Wall \
|
|
-I./ \
|
|
-I/usr/include \
|
|
- -I/usr/include/GL \
|
|
+ -I%%X11BASE%%/include/GL \
|
|
-I../../libSNL/src \
|
|
- -I/usr/X11/include
|
|
+ -I%%X11BASE%%/include
|
|
|
|
LFLAGS = \
|
|
- -L/usr/lib -lGL -lGLU -lglut \
|
|
- -L/usr/X11/lib -lX11 -lXext -lXi -lXmu -lXt -lSM -lICE \
|
|
+ -L%%X11BASE%%/lib -lGL -lGLU -lglut \
|
|
+ -lX11 -lXext -lXi -lXmu -lXt -lSM -lICE \
|
|
-lm
|
|
|
|
# -L/usr/X11/lib64 -lpthread -lX11 -lXext -lXi -lXmu -lXt -lSM -lICE \
|
|
@@ -118,42 +118,6 @@
|
|
write2nas.c \
|
|
write2tochnog.c \
|
|
writefbd.c \
|
|
- ../../glut-3.5/src/layerutil.c \
|
|
- ../../glut-3.5/src/glut_dials.c \
|
|
- ../../glut-3.5/src/glut_ext.c \
|
|
- ../../glut-3.5/src/glut_mesa.c \
|
|
- ../../glut-3.5/src/glut_menu.c \
|
|
- ../../glut-3.5/src/glut_modifier.c \
|
|
- ../../glut-3.5/src/glut_space.c \
|
|
- ../../glut-3.5/src/glut_shapes.c \
|
|
- ../../glut-3.5/src/glut_tablet.c \
|
|
- ../../glut-3.5/src/glut_vidresize.c \
|
|
- ../../glut-3.5/src/glut_warp.c \
|
|
- ../../glut-3.5/src/glut_8x13.c \
|
|
- ../../glut-3.5/src/glut_9x15.c \
|
|
- ../../glut-3.5/src/glut_hel10.c \
|
|
- ../../glut-3.5/src/glut_hel18.c \
|
|
- ../../glut-3.5/src/glut_hel12.c \
|
|
- ../../glut-3.5/src/glut_tr10.c \
|
|
- ../../glut-3.5/src/glut_tr24.c \
|
|
- ../../glut-3.5/src/glut_bitmap.c \
|
|
- ../../glut-3.5/src/glut_cursor.c \
|
|
- ../../glut-3.5/src/glut_event.c \
|
|
- ../../glut-3.5/src/glut_get.c \
|
|
- ../../glut-3.5/src/glut_overlay.c \
|
|
- ../../glut-3.5/src/glut_input.c \
|
|
- ../../glut-3.5/src/glut_stroke.c \
|
|
- ../../glut-3.5/src/glut_teapot.c \
|
|
- ../../glut-3.5/src/glut_winmisc.c \
|
|
- ../../glut-3.5/src/glut_fullscrn.c \
|
|
- ../../glut-3.5/src/glut_cindex.c \
|
|
- ../../glut-3.5/src/glut_roman.c \
|
|
- ../../glut-3.5/src/glut_mroman.c \
|
|
- ../../glut-3.5/src/glut_swidth.c \
|
|
- ../../glut-3.5/src/glut_bwidth.c \
|
|
- ../../glut-3.5/src/glut_win.c \
|
|
- ../../glut-3.5/src/glut_init.c \
|
|
- ../../glut-3.5/src/glut_util.c \
|
|
uselibSNL.cpp \
|
|
../../libSNL/src/*.cpp
|
|
|
|
@@ -161,7 +125,7 @@
|
|
OLIB = $(SLIB:.c=.o)
|
|
|
|
cgx: $(OLIB)
|
|
- g++ $(OLIB) $(CFLAGS) $(LFLAGS) -o $@
|
|
+ $(CXX) $(OLIB) $(CFLAGS) $(LFLAGS) -o $@
|
|
|
|
|
|
|