added APPEXTRADEFS to .cpp, .c rules (makes tex2rtf compile with wxBase)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -10,13 +10,13 @@ RES_PROGRAM = $(PROGRAM)_resources.o
|
|||||||
RES_PROGRAM_OPT = @RESPROGRAM@
|
RES_PROGRAM_OPT = @RESPROGRAM@
|
||||||
|
|
||||||
.c.o :
|
.c.o :
|
||||||
$(CCC) -c $(CFLAGS) -o $@ $<
|
$(CCC) -c $(CFLAGS) $(APPEXTRADEFS) -o $@ $<
|
||||||
|
|
||||||
.cpp.o :
|
.cpp.o :
|
||||||
$(CC) -c $(CPPFLAGS) -o $@ $<
|
$(CC) -c $(CPPFLAGS) $(APPEXTRADEFS) -o $@ $<
|
||||||
|
|
||||||
.cxx.o :
|
.cxx.o :
|
||||||
$(CC) -c $(CPPFLAGS) -o $@ $<
|
$(CC) -c $(CPPFLAGS) $(APPEXTRADEFS) -o $@ $<
|
||||||
|
|
||||||
# the comment at the end of the next line is needed because otherwise autoconf
|
# the comment at the end of the next line is needed because otherwise autoconf
|
||||||
# would remove this line completely - it contains a built-in hack to remove
|
# would remove this line completely - it contains a built-in hack to remove
|
||||||
|
Reference in New Issue
Block a user