]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/validate/makefile.unx
colourSize was probably supposed to be used and not just defined and then forgot...
[wxWidgets.git] / samples / validate / makefile.unx
index ef20878024252dfd1817dd7831498dee453a8b18..ab717a272570cb47e92f31c0bd934927990d0e62 100644 (file)
@@ -1,7 +1,7 @@
 # Purpose: makefile for validate example (Unix)
 # Created: 2000-03-14
 
-CC = gcc
+CXX = $(shell wx-config --cxx)
 
 PROGRAM = validate
 
@@ -12,12 +12,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)