replaced "CC = gcc" and even stranger "CPP = gcc -g" (huh?) with
"CXX = $(shell wx-config --cxx)" in all makefile.unx git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Created: 2000-03-14
|
||||
# hand hacked from template file by Ron <ron@debian.org>
|
||||
|
||||
CC = gcc
|
||||
CXX = $(shell wx-config --cxx)
|
||||
|
||||
PROGRAMS = client server
|
||||
|
||||
@@ -11,15 +11,15 @@ PROGRAMS = client server
|
||||
.SUFFIXES: .o .cpp
|
||||
|
||||
.cpp.o :
|
||||
$(CC) -c `wx-config --cxxflags` -o $@ $<
|
||||
$(CXX) -c `wx-config --cxxflags` -o $@ $<
|
||||
|
||||
all: $(PROGRAMS)
|
||||
|
||||
client: client.o
|
||||
$(CC) -o $@ $< `wx-config --libs`
|
||||
$(CXX) -o $@ $< `wx-config --libs`
|
||||
|
||||
server: server.o
|
||||
$(CC) -o $@ $< `wx-config --libs`
|
||||
$(CXX) -o $@ $< `wx-config --libs`
|
||||
|
||||
clean:
|
||||
rm -f *.o $(PROGRAMS)
|
||||
|
Reference in New Issue
Block a user