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