| 1 | # |
| 2 | # File: makefile.unx |
| 3 | # Author: Julian Smart |
| 4 | # Created: 1998 |
| 5 | # Updated: |
| 6 | # Copyright: (c) 1998 |
| 7 | # |
| 8 | # |
| 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) |
| 37 | ar $(AROPTIONS) $@ $(OBJECTS) |
| 38 | $(RANLIB) $@ |
| 39 | |
| 40 | clean: |
| 41 | rm -f $(OBJECTS) $(OGLLIB) |
| 42 | |