]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sashtest/makefile.unx
Removed all deprecated printing code.
[wxWidgets.git] / samples / sashtest / makefile.unx
index 4145bb6a72f70e8d08015bdedaba907da3997c80..8697a6362a73b429c8b5c95d5a3bdbab957377f0 100644 (file)
@@ -1,7 +1,7 @@
 # Purpose: makefile for sashtest example (Unix)
 # Created: 2000-03-14
 
-CC = gcc
+CXX = $(shell wx-config --cxx)
 
 PROGRAM = sashtest
 
@@ -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)