X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbda9e86f0e5ec1184bc16d135bb7205bc99236e..1b21409b36057d8281675973a7c3a1d77d9c0ddb:/samples/validate/makefile.unx diff --git a/samples/validate/makefile.unx b/samples/validate/makefile.unx index fd12e5ba03..ab717a2725 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 +CXX = $(shell wx-config --cxx) -OBJECTS=$(PROGRAM).o +PROGRAM = validate -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)