Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5098 | clevermous | 1 | include ../config.mk |
2 | |||
3 | OBJS= clip.o vertex.o api.o list.o init.o matrix.o texture.o \ |
||
4 | misc.o clear.o light.o select.o get.o error.o \ |
||
5 | zbuffer.o zline.o zdither.o ztriangle.o \ |
||
6 | zmath.o image_util.o msghandling.o \ |
||
7 | arrays.o specbuf.o glu.o kosgl.o |
||
8 | |||
9 | |||
10 | INCLUDES = -I$(TINYGL)/include -I$(MENUETDEV)/include |
||
11 | LIB = libTinyGL.a |
||
12 | |||
13 | all: $(LIB) |
||
14 | |||
15 | $(LIB): $(OBJS) |
||
16 | rm -f $(LIB) |
||
17 | ar rcs $(LIB) $(OBJS) |
||
18 | copy /y $@ $(TINYGL)\lib |
||
19 | del $(LIB) |
||
20 | |||
21 | clean: |
||
22 | rm -f *~ *.o *.a $(TINYGL)/$(LIB) |
||
23 | |||
24 | .c.o: |
||
25 | $(CC) $(CFLAGS) $(INCLUDES) -c $*.c |
||
26 | |||
27 | clip.o: zgl.h zfeatures.h |
||
28 | vertex.o: zgl.h zfeatures.h |
||
29 | light.o: zgl.h zfeatures.h |
||
30 | matrix.o: zgl.h zfeatures.h |
||
31 | list.o: zgl.h opinfo.h zfeatures.h |
||
32 | arrays.c: zgl.h zfeatures.h |
||
33 | specbuf.o: zgl.h zfeatures.h |
||
34 | glx.o: zgl.h zfeatures.h |
||
35 | nglx.o: zgl.h zfeatures.h |
||
36 | zline.o: zgl.h zfeatures.h zline.h |
||
37 | ztriangle.o: ztriangle.c ztriangle.h zgl.h zfeatures.h |
||
38 | $(CC) $(CFLAGS) $(INCLUDES) -c $*.c |