2000-03-14 19:30:04 +00:00
|
|
|
# Purpose: makefile for splitter example (Unix)
|
|
|
|
# Created: 2000-03-15
|
2000-01-03 17:11:48 +00:00
|
|
|
|
2001-11-28 18:10:15 +00:00
|
|
|
CXX = $(shell wx-config --cxx)
|
2000-01-03 17:11:48 +00:00
|
|
|
|
2000-03-14 19:30:04 +00:00
|
|
|
PROGRAM = splitter
|
2000-01-03 17:11:48 +00:00
|
|
|
|
|
|
|
OBJECTS = $(PROGRAM).o
|
|
|
|
|
|
|
|
# implementation
|
|
|
|
|
|
|
|
.SUFFIXES: .o .cpp
|
|
|
|
|
|
|
|
.cpp.o :
|
2001-11-28 18:10:15 +00:00
|
|
|
$(CXX) -c `wx-config --cxxflags` -o $@ $<
|
2000-01-03 17:11:48 +00:00
|
|
|
|
|
|
|
all: $(PROGRAM)
|
|
|
|
|
|
|
|
$(PROGRAM): $(OBJECTS)
|
2001-11-28 18:10:15 +00:00
|
|
|
$(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
|
2000-01-03 17:11:48 +00:00
|
|
|
|
2000-03-14 19:30:04 +00:00
|
|
|
clean:
|
2000-01-03 17:11:48 +00:00
|
|
|
rm -f *.o $(PROGRAM)
|