]>
Commit | Line | Data |
---|---|---|
58580a7e JS |
1 | # Purpose: makefile for multicell example (Unix) |
2 | # Created 2000-07-28 | |
3 | ||
a6f762a6 | 4 | CXX = $(shell wx-config --cxx) |
58580a7e JS |
5 | |
6 | PROGRAM = mtest | |
7 | ||
8 | OBJECTS = $(PROGRAM).o ../src/multicell.o | |
9 | EXTRAINC=-I../include | |
10 | ||
11 | # implementation | |
12 | ||
13 | .SUFFIXES: .o .cpp | |
14 | ||
15 | .cpp.o : | |
a6f762a6 | 16 | $(CXX) -c `wx-config --cxxflags` -o $@ $< |
58580a7e JS |
17 | |
18 | all: $(PROGRAM) | |
19 | ||
20 | $(PROGRAM): $(OBJECTS) | |
a6f762a6 | 21 | $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` |
58580a7e JS |
22 | |
23 | clean: | |
24 | rm -f *.o $(PROGRAM) |