--- ./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