]> git.saurik.com Git - wxWidgets.git/blob - install/unix/setup/rules/generic/sobj
Dang, can't remember what I changed now
[wxWidgets.git] / install / unix / setup / rules / generic / sobj
1 .SUFFIXES:
2 .SUFFIXES: .o .c
3 .SUFFIXES: .o .cc
4 .SUFFIXES: .o .cpp
5
6 VPATH= ..
7
8 .c.o :
9 @$(RM) -f $@ $@sh
10 @if test "x$(PICFLAGS)" != x; then \
11 echo "$(CC) -c -o $@sh $(PICFLAGS) $(CFLAGS) -I.. $(WX_INCLUDES) $(ADD_COMPILE) $(WX_DEFINES) $<";\
12 $(CC) -c -o $@sh $(PICFLAGS) $(CFLAGS) -I.. $(WX_INCLUDES) $(ADD_COMPILE) $(WX_DEFINES) $<;\
13 fi
14 $(CC) -c -o $@ $(CFLAGS) -I.. $(WX_INCLUDES) $(ADD_COMPILE) $(WX_DEFINES) $<
15
16 .cc.o :
17 @$(RM) -f $@ $@sh
18 @if test "x$(PICFLAGS)" != x; then \
19 echo "$(CXX) -c -o $@sh $(PICFLAGS) $(CXXFLAGS) -I.. $(WX_INCLUDES) $(ADD_COMPILE) $(WX_DEFINES) $<";\
20 $(CXX) -c -o $@sh $(PICFLAGS) $(CXXFLAGS) -I.. $(WX_INCLUDES) $(ADD_COMPILE) $(WX_DEFINES) $<;\
21 fi
22 $(CXX) -c -o $@ $(CXXFLAGS) -I.. $(WX_INCLUDES) $(ADD_COMPILE) $(WX_DEFINES) $<
23
24 .cpp.o :
25 @$(RM) -f $@ $@sh
26 @if test "x$(PICFLAGS)" != x; then \
27 echo "$(CXX) -c -o $@sh $(PICFLAGS) $(CXXFLAGS) -I.. $(WX_INCLUDES) $(ADD_COMPILE) $(WX_DEFINES) $<";\
28 $(CXX) -c -o $@sh $(PICFLAGS) $(CXXFLAGS) -I.. $(WX_INCLUDES) $(ADD_COMPILE) $(WX_DEFINES) $<;\
29 fi
30 $(CXX) -c -o $@ $(CXXFLAGS) -I.. $(WX_INCLUDES) $(ADD_COMPILE) $(WX_DEFINES) $<
31
32 clean_obj::
33 @$(RM) *.o *.osh
34 @if test "x$(SRC_DIR)" != x ; then \
35 for each in $(SRC_DIR) xxx; do \
36 if test -d $$each ; then \
37 $(RM) $$each/*.o $$each/*.osh ; \
38 fi; \
39 done; \
40 fi;
41
42 include $(RULES_GENERIC)/depend