-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathacorn.mak
53 lines (38 loc) · 988 Bytes
/
acorn.mak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# RISC OS makefile for the Infocom tools
#
# Note that you will have to place the source files into c and h
# directories, and create an o directory in the usual fashion
# Then drag the makefile to AMU.
CC = cc
LD = link
SQ = squeeze
CFLAGS = -c -ff -throwback
LDFLAGS =
LIBS = C:o.Stubs
CINC =
COBJS = check.o
IINC = tx.h
IOBJS = infodump.o showhead.o showdict.o showobj.o showverb.o txio.o getopt.o infinfo.o symbols.o
PINC = pix2gif.h
POBJS = pix2gif.o
TINC = tx.h
TOBJS = txd.o txio.o showverb.o getopt.o infinfo.o symbols.o showobj.o
.SUFFIXES: .o .c
.c.o:; $(CC) $(CFLAGS) -o $@ $<
all : check infodump pix2gif txd
check : $(COBJS)
$(LD) -o $@ $(LDFLAGS) $(COBJS) $(LIBS)
$(SQ) $@
$(COBJS) : $(CINC)
infodump : $(IOBJS)
$(LD) -o $@ $(LDFLAGS) $(IOBJS) $(LIBS)
$(SQ) $@
$(IOBJS) : $(IINC)
pix2gif : $(POBJS)
$(LD) -o $@ $(LDFLAGS) $(POBJS) $(LIBS)
$(SQ) $@
$(POBJS) : $(PINC)
txd : $(TOBJS)
$(LD) -o $@ $(LDFLAGS) $(TOBJS) $(LIBS)
$(SQ) $@
$(TOBJS) : $(TINC)