]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/proplist/makefile.unx
Updated PyCrust from Patrick O'Brien
[wxWidgets.git] / samples / proplist / makefile.unx
index f8747556235946f2db8f1814dce1b772824de213..e7143b6c99dcfd14a5fbd26dd9021bb445d8a4bf 100644 (file)
@@ -1,17 +1,23 @@
-#
-# File:                makefile.unx
-# Author:      Julian Smart
-# Created:     1998
-# Updated:     
-# Copyright:   (c) 1998 Julian Smart
-#
-# "%W% %G%"
-#
-# Makefile for proplist example (UNIX).
+# Purpose: makefile for proplist example (Unix)
+# Created: 2000-03-15
 
 
-PROGRAM=test
+CXX = $(shell wx-config --cxx)
 
 
-OBJECTS=$(PROGRAM).o
+PROGRAM = proplist
 
 
-include ../../src/makeprog.env
+OBJECTS = $(PROGRAM).o
 
 
+# implementation
+
+.SUFFIXES:     .o .cpp
+
+.cpp.o :
+       $(CXX) -c `wx-config --cxxflags` -o $@ $<
+
+all:    $(PROGRAM)
+
+$(PROGRAM):    $(OBJECTS)
+       $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
+
+clean:
+       rm -f *.o $(PROGRAM)