Lines 1-7
Link Here
|
1 |
--- Makefile.orig Fri Jul 11 02:37:58 2003 |
1 |
--- Makefile.orig Wed Jun 9 16:12:12 2004 |
2 |
+++ Makefile Thu Oct 16 21:14:17 2003 |
2 |
+++ Makefile Wed Jun 9 16:13:39 2004 |
3 |
@@ -280,13 +280,13 @@ |
3 |
@@ -329,13 +329,13 @@ |
4 |
-$(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) |
4 |
-$(DEL_CMD) OPCODE/*.obj OPCODE/*.o OPCODE/Ice/*.obj OPCODE/Ice/*.o |
5 |
|
5 |
|
6 |
%$(OBJ): %.c |
6 |
%$(OBJ): %.c |
7 |
- $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(DEFINES) $(C_OPT)1 $(C_OUT)$@ $< |
7 |
- $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(DEFINES) $(C_OPT)1 $(C_OUT)$@ $< |
Lines 12-28
Link Here
|
12 |
+ $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(INC_OPCODE) $(DEFINES) $(C_OUT)$@ $< |
12 |
+ $(CC) $(C_FLAGS) $(C_INC)$(INCPATH) $(INC_OPCODE) $(DEFINES) $(C_OUT)$@ $< |
13 |
|
13 |
|
14 |
%.exe: %$(OBJ) |
14 |
%.exe: %$(OBJ) |
15 |
- $(CC) $(C_EXEOUT)$@ $< $(ODE_LIB) $(OPCODE_LIB) $(DRAWSTUFF_LIB) $(RESOURCE_FILE) $(LINK_OPENGL) $(LINK_MATH) |
15 |
- $(CC) $(C_EXEOUT)$@ $< $(ODE_LIB) $(DRAWSTUFF_LIB) $(RESOURCE_FILE) $(LINK_OPENGL) $(LINK_MATH) |
16 |
+ $(CC) $(C_EXEOUT)$@ $< $(ODE_LIB) $(OPCODE_LIB) $(DRAWSTUFF_LIB) $(RESOURCE_FILE) $(LINK_OPENGL) $(LINK_MATH) ${LDFLAGS} |
16 |
+ $(CC) $(C_EXEOUT)$@ $< $(ODE_LIB) $(DRAWSTUFF_LIB) $(RESOURCE_FILE) $(LINK_OPENGL) $(LINK_MATH) ${LDFLAGS} |
17 |
|
17 |
|
18 |
|
18 |
|
19 |
# windows specific rules |
19 |
# windows specific rules |
20 |
@@ -308,7 +308,7 @@ |
20 |
@@ -357,7 +357,7 @@ |
21 |
|
21 |
|
22 |
# unix-gcc specific dependency making |
22 |
# unix-gcc specific dependency making |
23 |
|
23 |
|
24 |
-DEP_RULE=gcc -M $(C_INC)$(INCPATH) $(DEFINES) |
24 |
-DEP_RULE=gcc -M $(C_INC)$(INCPATH) $(DEFINES) |
25 |
+DEP_RULE=${CC} -M $(C_INC)$(INCPATH) $(DEFINES) |
25 |
+DEP_RULE=${CC} -M $(C_INC)$(INCPATH) $(DEFINES) |
26 |
depend: |
26 |
depend: |
27 |
$(DEP_RULE) $(ODE_SRC) $(ODE_PREGEN_SRC) $(ODE_OLD_COLLISION_SRC) $(ODE_NEW_COLLISION_SRC) | tools/process_deps ode/src/ > Makefile.deps |
27 |
$(DEP_RULE) $(ODE_SRC) $(ODE_PREGEN_SRC) | tools/process_deps ode/src/ > Makefile.deps |
28 |
$(DEP_RULE) $(DRAWSTUFF_SRC) | tools/process_deps drawstuff/src/ >> Makefile.deps |
28 |
$(DEP_RULE) $(DRAWSTUFF_SRC) | tools/process_deps drawstuff/src/ >> Makefile.deps |