projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor clean up
[wxWidgets.git]
/
samples
/
validate
/
makefile.unx
diff --git
a/samples/validate/makefile.unx
b/samples/validate/makefile.unx
index fd12e5ba03262837c08e6297f515a202a55c41d5..ef20878024252dfd1817dd7831498dee453a8b18 100644
(file)
--- a/
samples/validate/makefile.unx
+++ b/
samples/validate/makefile.unx
@@
-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)