replaced wx-config --cflags
with wx-config --cxxflags
and mentioned that
it must be done in user makefiles too in changes.txt git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,7 +24,7 @@ OBJECTS = $(PROGRAM).o
|
||||
.SUFFIXES: .o .cpp
|
||||
|
||||
.cpp.o :
|
||||
$(CC) -c `wx-config --cflags` -o $@ $<
|
||||
$(CC) -c `wx-config --cxxflags` -o $@ $<
|
||||
|
||||
all: $(PROGRAM)
|
||||
|
||||
|
@@ -24,7 +24,7 @@ OBJECTS = $(PROGRAM).o
|
||||
.SUFFIXES: .o .cpp
|
||||
|
||||
.cpp.o :
|
||||
$(CC) -c `wx-config --cflags` -o $@ $<
|
||||
$(CC) -c `wx-config --cxxflags` -o $@ $<
|
||||
|
||||
all: $(PROGRAM) isosurf.dat
|
||||
|
||||
|
@@ -20,13 +20,13 @@ Penguin: penguin.o trackball.o lw.o
|
||||
`wx-config --libs` -lwx_gtk_gl $(OPENGL_LIBS)
|
||||
|
||||
penguin.o: penguin.cpp
|
||||
$(CPP) `wx-config --cflags` -I../../gtk -c penguin.cpp
|
||||
$(CPP) `wx-config --cxxflags` -I../../gtk -c penguin.cpp
|
||||
|
||||
lw.o: lw.cpp
|
||||
$(CPP) `wx-config --cflags` -I../../gtk -c lw.cpp
|
||||
$(CPP) `wx-config --cxxflags` -I../../gtk -c lw.cpp
|
||||
|
||||
trackball.o: trackball.c
|
||||
$(CC) `wx-config --cflags` -I../../gtk -c trackball.c
|
||||
$(CC) `wx-config --cxxflags` -I../../gtk -c trackball.c
|
||||
|
||||
clean:
|
||||
rm -f *.o Penguin
|
||||
|
Reference in New Issue
Block a user