projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Applied patch [ 853031 ] Japanese po file
[wxWidgets.git]
/
samples
/
statbar
/
makefile.unx
diff --git
a/samples/statbar/makefile.unx
b/samples/statbar/makefile.unx
index 468a658a0ad56176833c6c93dc4e509fab8b405e..b74c2b5bfdba9dbffe2157c798cf45410447b8b5 100644
(file)
--- a/
samples/statbar/makefile.unx
+++ b/
samples/statbar/makefile.unx
@@
-1,7
+1,7
@@
# Purpose: makefile for statbar example (Unix)
# Created: 2000-02-04
# Purpose: makefile for statbar example (Unix)
# Created: 2000-02-04
-C
C = gcc
+C
XX = $(shell wx-config --cxx)
PROGRAM = statbar
PROGRAM = statbar
@@
-12,12
+12,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)