]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/image/makefile.unx
don't treat changing focus to popup's child as loosing it
[wxWidgets.git] / samples / image / makefile.unx
index 3bc068afd0c3488414b9b84dd20edb9c083ee76a..ab88e18b59bbbd7f81c0ce9338e673bc86994d94 100644 (file)
@@ -13,7 +13,7 @@
 # under Linux.
 #
 
-CC = gcc
+CXX = $(shell wx-config --cxx)
 
 PROGRAM = image
 
@@ -24,12 +24,12 @@ OBJECTS = $(PROGRAM).o
 .SUFFIXES:     .o .cpp
 
 .cpp.o :
-       $(CC) -c `wx-config --cflags` -o $@ $<
+       $(CXX) -c `wx-config --cxxflags` -o $@ $<
 
 all:    $(PROGRAM)
 
 $(PROGRAM):    $(OBJECTS)
-       $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
+       $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
 
 clean: 
        rm -f *.o $(PROGRAM)