]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/statbar/makefile.unx
fixed creation of the dialogs with a simple (non 3D, non resizeable) border; also...
[wxWidgets.git] / samples / statbar / makefile.unx
index 468a658a0ad56176833c6c93dc4e509fab8b405e..b74c2b5bfdba9dbffe2157c798cf45410447b8b5 100644 (file)
@@ -1,7 +1,7 @@
 # Purpose: makefile for statbar example (Unix)
 # Created: 2000-02-04
 
-CC = gcc
+CXX = $(shell wx-config --cxx)
 
 PROGRAM = statbar
 
@@ -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)