freebsd-ports/graphics/wildmagic/files/patch-SampleFoundation_makeapp.wm4
Thierry Thomas cf88fd19da The Wild Magic Real-Time 3D Graphics Engine is described in the book "3D Game
Engine Design: A Practical Approach to Real-Time Computer Graphics".

Much of the source code is for 3D real-time graphics, but you will find quite a
bit for other purposes.

<http://www.geometrictools.com/>
2007-05-26 19:23:44 +00:00

12 lines
423 B
Text

--- ./SampleFoundation/makeapp.wm4.orig Wed Apr 4 22:17:21 2007
+++ ./SampleFoundation/makeapp.wm4 Wed Apr 4 22:19:44 2007
@@ -3,7 +3,8 @@
INCPATH := -I ../../SDK/Include
CORELIBS := -lWm4$(GRF)Application -lWm4$(GRF)Renderer -lWm4Graphics \
-lWm4Foundation
-
+LIBS := $(CORELIBS) $(XLIBS) $(GLIBS) -lcompat -lm
+
ifeq (Soft,$(findstring Soft,$(GRF)))
CFLAGS += -DWM4_HAS_SOFT_SHADER
endif