|
|
1.1 root 1:
2: TITLE = libj makefile
3: PRODUCTS = libj.a
4:
5:
6: MAKEARG= -$(MAKEFLAGS)
7:
8: MLORDER=m32lorder
9: LCLCFLAGS=-J -g -O
10: CLEAN= $(OBJ) libj.a
11:
12:
13: CC_CMD = $(MCC) $(MCFLAGS) $(LCLCFLAGS) -c
14:
15: OBJ=atan2.o cosdeg.o sqrt.o exit.o fgets.o getfont.o \
16: font.o fopen.o gcalloc.o introutine.o jarc.o arc.o jcircle.o \
17: circle.o jdisc.o disc.o discture.o jelarc.o elarc.o jeldisc.o \
18: eldisc.o jellipse.o ellipse.o jpoint.o jstring.o menu.o \
19: balloc.o min.o norm.o point.o popen.o printf.o \
20: ptinrect.o rdwr.o get.o put.o alloc.o comm.o \
21: data.o rectXrect.o rectf.o jtexture.o Jrect.o rectclip.o \
22: rol.o screenswap.o string.o bitblt.o strwidth.o defont.o \
23: texture.o wait.o jlineto.o addr.o masks.o line.o \
24: arith.o clip.o display.o rect.o texture16.o
25: CFILES= alloc.c arc.c atan2.c balloc.c\
26: bitblt.s circle.c clip.c comm.c cosdeg.c data.c\
27: disc.c discture.c display.c ellipse.c exit.c fgets.c fopen.c gcalloc.c get.c introutine.c\
28: jarc.c jcircle.c jdisc.c jellipse.c jlineto.c jpoint.c\
29: Jrect.c jstring.c jtexture.c line.c masks.c menu.c min.c\
30: point.c popen.c printf.c ptinrect.c put.c\
31: rdwr.c rectXrect.c rectclip.c rectf.c screenswap.c sqrt.c string.c\
32: getfont.c font.c defont.c eldisc.c jeldisc.c\
33: strwidth.c texture.c width.c rect.s texture16.c
34:
35: .C.o:
36: echo ".C files no longer built"
37:
38: .c.o:
39: $(MCC) $(MCFLAGS) $(LCLCFLAGS) -c $<
40:
41: .s.o:
42: $(MCC) -c $<
43:
44: libj.a: $(OBJ)
45: $(MAR) cr libj.a `$(MLORDER) $(OBJ) | tsort`
46: $(MAR) ma clip.o libj.a line.o
47:
48: texture.o: texture.s
49: $(MCC) $(MCFLAGS) -g -c texture.s
50:
51: bitblt.o: bitblt.c
52: $(MCC) $(MCFLAGS) -J -g -c bitblt.c
53:
54: min.o: min.s
55: $(MCC) -c min.s
56:
57: arith.o: arith.s
58: $(MCC) -c arith.s
59:
60: rect.o: rect.s
61: $(MCC) -c rect.s
62:
63: addr.o: addr.s
64: $(MCC) -c addr.s
65:
66: save:
67: -cp $(DMDLIB)/libj.a olibj.a
68:
69: install:libj.a
70: cp libj.a $(DMDLIB)/libj.a
71:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.