X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b4d4194a26948f4681701ce4b99ac9c665f104e..30827629fa11f6365f69bd2917e1a35d22c35363:/samples/notebook/makefile.unx diff --git a/samples/notebook/makefile.unx b/samples/notebook/makefile.unx index a3f76189b2..c137b06024 100644 --- a/samples/notebook/makefile.unx +++ b/samples/notebook/makefile.unx @@ -1,17 +1,23 @@ -# -# File: makefile.unx -# Author: Julian Smart -# Created: 1998 -# Updated: -# Copyright: (c) 1998 Julian Smart -# -# "%W% %G%" -# -# Makefile for notebook example (UNIX). +# Purpose: makefile for notebook example (Unix) +# Created: 2000-03-15 -PROGRAM=test +CXX = $(shell wx-config --cxx) -OBJECTS=$(PROGRAM).o +PROGRAM = notebook -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)