projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patch 1306473
[wxWidgets.git]
/
contrib
/
samples
/
gizmos
/
splittree
/
makefile.unx
diff --git
a/contrib/samples/gizmos/splittree/makefile.unx
b/contrib/samples/gizmos/splittree/makefile.unx
index 25521115902183ecb85e16ce1cc3c17c1b880c62..ab2ced9e766a51ee9cf1c6917da2f765eabc3b7a 100644
(file)
--- a/
contrib/samples/gizmos/splittree/makefile.unx
+++ b/
contrib/samples/gizmos/splittree/makefile.unx
@@
-13,7
+13,7
@@
# under Linux.
#
# under Linux.
#
-C
C = gcc
+C
XX = $(shell wx-config --cxx)
PROGRAM = minimal
PROGRAM = minimal
@@
-24,12
+24,12
@@
OBJECTS = $(PROGRAM).o
.SUFFIXES: .o .cpp
.cpp.o :
.SUFFIXES: .o .cpp
.cpp.o :
- $(C
C) -c `wx-config --c
flags` -o $@ $<
+ $(C
XX) -c `wx-config --cxx
flags` -o $@ $<
all: $(PROGRAM)
$(PROGRAM): $(OBJECTS)
all: $(PROGRAM)
$(PROGRAM): $(OBJECTS)
- $(C
C
) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
+ $(C
XX
) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
clean:
rm -f *.o $(PROGRAM)
clean:
rm -f *.o $(PROGRAM)