2000-03-14 19:55:34 +00:00
|
|
|
# Purpose: makefile for treelay example (Unix)
|
|
|
|
# Created: 2000-03-15
|
2000-02-28 13:42:59 +00:00
|
|
|
|
|
|
|
CC = gcc
|
|
|
|
|
2000-03-14 19:55:34 +00:00
|
|
|
PROGRAM = treelay
|
2000-02-28 13:42:59 +00:00
|
|
|
|
|
|
|
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`
|
|
|
|
|
2000-03-14 19:55:34 +00:00
|
|
|
clean:
|
2000-02-28 13:42:59 +00:00
|
|
|
rm -f *.o $(PROGRAM)
|