projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docstrings and other minor tweaks
[wxWidgets.git]
/
samples
/
thread
/
makefile.unx
diff --git
a/samples/thread/makefile.unx
b/samples/thread/makefile.unx
index e479b65e472d74baff759563ac0ff2bc4607c635..2604c437aee5e23bd9906624c1d24f8b1f43b1c8 100644
(file)
--- a/
samples/thread/makefile.unx
+++ b/
samples/thread/makefile.unx
@@
-1,7
+1,7
@@
# Purpose: makefile for thread example (Unix)
# Created: 2000-03-15
# Purpose: makefile for thread example (Unix)
# Created: 2000-03-15
-C
C = gcc
+C
XX = $(shell wx-config --cxx)
PROGRAM = thread
PROGRAM = thread
@@
-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)