]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/thread/makefile.unx
made operator==() and \!=() const (still doesn't make them correct probably)
[wxWidgets.git] / samples / thread / makefile.unx
index e479b65e472d74baff759563ac0ff2bc4607c635..2604c437aee5e23bd9906624c1d24f8b1f43b1c8 100644 (file)
@@ -1,7 +1,7 @@
 # Purpose: makefile for thread example (Unix)
 # Created: 2000-03-15
 
-CC = gcc
+CXX = $(shell wx-config --cxx)
 
 PROGRAM = thread
 
@@ -12,12 +12,12 @@ OBJECTS = $(PROGRAM).o
 .SUFFIXES:     .o .cpp
 
 .cpp.o :
-       $(CC) -c `wx-config --cxxflags` -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)