]>
Commit | Line | Data |
---|---|---|
0fc1a713 JS |
1 | # |
2 | # File: makefile.unx | |
3 | # Author: Julian Smart | |
3dd4e4e0 | 4 | # Created: 1998 |
0fc1a713 | 5 | # Updated: |
3dd4e4e0 | 6 | # Copyright: (c) 1998 |
0fc1a713 | 7 | # |
0fc1a713 | 8 | # |
3dd4e4e0 JS |
9 | # Makefile for OGL library, Unix |
10 | ||
11 | include ../../../src/make.env | |
12 | ||
13 | OGLLIB=$(WXDIR)/lib/libogl$(GUISUFFIX).a | |
14 | ||
15 | LIB_CPP_SRC=\ | |
16 | \ | |
17 | basic.o\ | |
18 | basic2.o\ | |
19 | canvas.o\ | |
20 | ogldiag.o\ | |
21 | lines.o\ | |
22 | misc.o\ | |
23 | divided.o\ | |
24 | constrnt.o\ | |
25 | composit.o\ | |
26 | drawn.o\ | |
27 | bmpshape.o\ | |
28 | mfutils.o | |
29 | ||
30 | all: $(OGLLIB) | |
31 | ||
32 | # Define library objects | |
33 | OBJECTS=\ | |
34 | $(LIB_CPP_SRC:.cpp=.o) | |
35 | ||
36 | $(OGLLIB) : $(OBJECTS) | |
0fc1a713 JS |
37 | ar $(AROPTIONS) $@ $(OBJECTS) |
38 | $(RANLIB) $@ | |
39 | ||
3dd4e4e0 JS |
40 | clean: |
41 | rm -f $(OBJECTS) $(OGLLIB) | |
0fc1a713 | 42 |