X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b4d4194a26948f4681701ce4b99ac9c665f104e..298d86536801bde42431cee95a8ac1a921b83139:/samples/notebook/makefile.unx?ds=sidebyside 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)