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