projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
I don't think wxX11 and wxMGL support EVT_CONTEXT_MENU yet
[wxWidgets.git]
/
samples
/
png
/
makefile.unx
diff --git
a/samples/png/makefile.unx
b/samples/png/makefile.unx
index 537eaabf012a4c41b44d8193e8153c91961b57a0..158805052451b27262363db28bc9bd09315add28 100644
(file)
--- a/
samples/png/makefile.unx
+++ b/
samples/png/makefile.unx
@@
-13,7
+13,7
@@
# under Linux.
#
# under Linux.
#
-C
C = gcc
+C
XX = $(shell wx-config --cxx)
PROGRAM = pngdemo
PROGRAM = pngdemo
@@
-24,12
+24,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)