projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't treat changing focus to popup's child as loosing it
[wxWidgets.git]
/
samples
/
docview
/
makefile.unx
diff --git
a/samples/docview/makefile.unx
b/samples/docview/makefile.unx
index 655b66b7590e31925f97bc4086c7a8f0c752f272..9af3b76a7ea0913494a5585dad8bc0aad8df1df1 100644
(file)
--- a/
samples/docview/makefile.unx
+++ b/
samples/docview/makefile.unx
@@
-13,7
+13,7
@@
# under Linux.
#
# under Linux.
#
-C
C = gcc
+C
XX = $(shell wx-config --cxx)
PROGRAM = docview
PROGRAM = docview
@@
-24,12
+24,12
@@
OBJECTS = $(PROGRAM).o view.o doc.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)