X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b4d4194a26948f4681701ce4b99ac9c665f104e..b6e5eaa59701315ca06996ff845872ca4122695f:/samples/notebook/makefile.unx diff --git a/samples/notebook/makefile.unx b/samples/notebook/makefile.unx index a3f76189b2..e3db4b798e 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 +CC = gcc -OBJECTS=$(PROGRAM).o +PROGRAM = notebook -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)