X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbda9e86f0e5ec1184bc16d135bb7205bc99236e..3b7bc64a2a4cef84b584fe531da17b15eb269689:/samples/validate/makefile.unx?ds=inline 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)