]>
Commit | Line | Data |
---|---|---|
1 | # Purpose: makefile for multicell example (Unix) | |
2 | # Created 2000-07-28 | |
3 | ||
4 | CC = gcc | |
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 : | |
16 | $(CC) -c `wx-config --cflags` -o $@ $< | |
17 | ||
18 | all: $(PROGRAM) | |
19 | ||
20 | $(PROGRAM): $(OBJECTS) | |
21 | $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` | |
22 | ||
23 | clean: | |
24 | rm -f *.o $(PROGRAM) |