X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbda9e86f0e5ec1184bc16d135bb7205bc99236e..6a54cc2a1156229f1db27ec816c9be84e8da2ee3:/samples/validate/makefile.unx?ds=sidebyside diff --git a/samples/validate/makefile.unx b/samples/validate/makefile.unx index fd12e5ba03..ef20878024 100644 --- 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)