2001-01-31 16:00:00 +00:00
|
|
|
# Purpose: makefile for event example (Unix)
|
|
|
|
# Created: 2001-01-31
|
|
|
|
|
2001-11-28 18:10:15 +00:00
|
|
|
CXX = $(shell wx-config --cxx)
|
2001-01-31 16:00:00 +00:00
|
|
|
|
|
|
|
PROGRAM = event
|
|
|
|
|
|
|
|
OBJECTS = $(PROGRAM).o
|
|
|
|
|
|
|
|
# implementation
|
|
|
|
|
|
|
|
.SUFFIXES: .o .cpp
|
|
|
|
|
|
|
|
.cpp.o :
|
2001-11-28 18:10:15 +00:00
|
|
|
$(CXX) -c `wx-config --cxxflags` -o $@ $<
|
2001-01-31 16:00:00 +00:00
|
|
|
|
|
|
|
all: $(PROGRAM)
|
|
|
|
|
|
|
|
$(PROGRAM): $(OBJECTS)
|
2001-11-28 18:10:15 +00:00
|
|
|
$(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
|
2001-01-31 16:00:00 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o $(PROGRAM)
|