]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/validate/makefile.unx
Added context help stuff to wxPython
[wxWidgets.git] / samples / validate / makefile.unx
index fd12e5ba03262837c08e6297f515a202a55c41d5..ef20878024252dfd1817dd7831498dee453a8b18 100644 (file)
@@ -1,17 +1,23 @@
-#
-# File:                makefile.unx
-# Author:      Julian Smart
-# Created:     1998
-# Updated:     
-# Copyright:   (c) 1998 Julian Smart
-#
-# "%W% %G%"
-#
-# Makefile for validate example (UNIX).
+# Purpose: makefile for validate example (Unix)
+# Created: 2000-03-14
 
-PROGRAM=validate
+CC = gcc
 
-OBJECTS=$(PROGRAM).o
+PROGRAM = validate
 
-include ../../src/makeprog.env
+OBJECTS = $(PROGRAM).o
 
+# implementation
+
+.SUFFIXES:     .o .cpp
+
+.cpp.o :
+       $(CC) -c `wx-config --cflags` -o $@ $<
+
+all:    $(PROGRAM)
+
+$(PROGRAM):    $(OBJECTS)
+       $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
+
+clean:
+       rm -f *.o $(PROGRAM)