2000-03-14 14:30:04 -05:00
|
|
|
# Purpose: makefile for splitter example (Unix)
|
|
|
|
# Created: 2000-03-15
|
2000-01-03 12:11:48 -05:00
|
|
|
|
|
|
|
CC = gcc
|
|
|
|
|
2000-03-14 14:30:04 -05:00
|
|
|
PROGRAM = splitter
|
2000-01-03 12:11:48 -05: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 14:30:04 -05:00
|
|
|
clean:
|
2000-01-03 12:11:48 -05:00
|
|
|
rm -f *.o $(PROGRAM)
|