]>
Commit | Line | Data |
---|---|---|
a1a2adef RR |
1 | .SUFFIXES: |
2 | .SUFFIXES: .o .c | |
3 | .SUFFIXES: .o .cc | |
4 | .SUFFIXES: .o .cpp | |
5 | ||
6 | VPATH= .. | |
7 | ||
8 | .c.o : | |
9 | @$(RM) -f $@ | |
10 | $(CC) -c -o $@ $(CFLAGS) -I.. $(WX_INCLUDES) $(ADD_COMPILE) $(WX_DEFINES) $< | |
11 | ||
12 | .cc.o : | |
13 | @$(RM) -f $@ | |
14 | $(CXX) -c -o $@ $(CXXFLAGS) -I.. $(WX_INCLUDES) $(ADD_COMPILE) $(WX_DEFINES) $< | |
15 | ||
16 | .cpp.o : | |
17 | @$(RM) -f $@ | |
18 | $(CXX) -c -o $@ $(CXXFLAGS) -I.. $(WX_INCLUDES) $(ADD_COMPILE) $(WX_DEFINES) $< | |
19 | ||
20 | clean_obj:: | |
21 | @$(RM) *.o *.osh | |
22 | @if test "x$(SRC_DIR)" != x ; then \ | |
23 | for each in $(SRC_DIR) xxx; do \ | |
24 | if test -d $$each ; then \ | |
25 | $(RM) $$each/*.o $$each/*.osh ; \ | |
26 | fi; \ | |
27 | done; \ | |
28 | fi; | |
29 | ||
30 | include $(RULES_GENERIC)/depend |