projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SWIGged updates for wxMac
[wxWidgets.git]
/
samples
/
treelay
/
makefile.unx
diff --git
a/samples/treelay/makefile.unx
b/samples/treelay/makefile.unx
index a6c058e9ef50bb6cd56127b4c9de65d76a0711a2..468f519c0c900fab4744082eeebe052c2f8241b8 100644
(file)
--- a/
samples/treelay/makefile.unx
+++ b/
samples/treelay/makefile.unx
@@
-1,7
+1,7
@@
# Purpose: makefile for treelay example (Unix)
# Created: 2000-03-15
# Purpose: makefile for treelay example (Unix)
# Created: 2000-03-15
-C
C = gcc
+C
XX = $(shell wx-config --cxx)
PROGRAM = treelay
PROGRAM = treelay
@@
-12,12
+12,12
@@
OBJECTS = $(PROGRAM).o
.SUFFIXES: .o .cpp
.cpp.o :
.SUFFIXES: .o .cpp
.cpp.o :
- $(C
C
) -c `wx-config --cxxflags` -o $@ $<
+ $(C
XX
) -c `wx-config --cxxflags` -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)