2003-01-11 23:20:10 +00:00
|
|
|
--- dist/Makefile.org Sat Jan 11 23:55:46 2003
|
|
|
|
+++ dist/Makefile Sat Jan 11 23:55:36 2003
|
|
|
|
@@ -242,14 +242,16 @@
|
|
|
|
clean:
|
2003-01-04 20:20:54 +00:00
|
|
|
-$(DEL_CMD) $(ODE_OBJECTS) $(ODE_TEST_EXE) $(ODE_LIB) $(DRAWSTUFF_OBJECTS) $(DRAWSTUFF_TEST_EXE) $(DRAWSTUFF_LIB) ode/test/*$(OBJ) drawstuff/dstest/*$(OBJ) $(CONFIGURATOR_EXE) $(CONFIG_H)
|
|
|
|
|
2003-01-11 23:20:10 +00:00
|
|
|
+# Patched for FreeBSD
|
|
|
|
+
|
2003-01-04 20:20:54 +00:00
|
|
|
%$(OBJ): %.c
|
|
|
|
- $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(DEFINES) $(C_OPT)1 $(C_OUT)$@ $<
|
|
|
|
+ $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) -I/usr/X11R6/include $(DEFINES) $(C_OPT)1 $(C_OUT)$@ $<
|
|
|
|
|
|
|
|
%$(OBJ): %.cpp
|
|
|
|
- $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(DEFINES) $(C_OPT)$(OPT) $(C_OUT)$@ $<
|
|
|
|
+ $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) -I/usr/X11R6/include $(DEFINES) $(C_OPT)$(OPT) $(C_OUT)$@ $<
|
|
|
|
|
|
|
|
%.exe: %$(OBJ)
|
|
|
|
- $(CC) $(C_EXEOUT)$@ $< $(ODE_LIB) $(DRAWSTUFF_LIB) $(RESOURCE_FILE) $(LINK_OPENGL) $(LINK_MATH)
|
|
|
|
+ $(CC) $(C_EXEOUT)$@ $< $(ODE_LIB) $(DRAWSTUFF_LIB) $(RESOURCE_FILE) $(LINK_OPENGL) $(LINK_MATH) -lXext
|
|
|
|
|
|
|
|
# windows specific rules
|
|
|
|
|