repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Indentation fix, cleanup.
[AROS.git]
/
tools
/
dtdesc
/
c_iff
/
Makefile.sasc
blob
6cb037b6145e679a7e3066a23489d2721504cb28
1
# Makefile for c_iff
2
3
.SUFFIXES: .c.o
4
5
CC = sc
6
7
CFLAGS = \
8
IDIR="" \
9
DEFINE=amiga \
10
DATA=FAR \
11
SMALLCODE \
12
STRIPDEBUG \
13
CPU=68020 \
14
OPTIMIZE \
15
OPTSCHED \
16
OPTINLINE \
17
OPTALIAS \
18
OPTTIME \
19
OPTINLOCAL \
20
NOICONS \
21
NOSTACKCHECK
22
23
LD = $(CC)
24
25
LDFLAGS = $(CFLAGS) LINK
26
27
C_FLAG =
28
29
O_FLAG = TO
30
31
AR = oml
32
33
RM = delete FORCE
34
35
OBJS = \
36
checkiff.o \
37
closeiff.o \
38
endchunk.o \
39
filesize.o \
40
fixiffsize.o \
41
newchunk.o \
42
newiff.o \
43
newsubform.o \
44
openiff.o \
45
readchunkdata.o \
46
readchunkheader.o \
47
skipchunkdata.o \
48
writechunkdata.o
49
50
.c.o:
51
$(CC) $(CFLAGS) $(C_FLAG) $*.c
52
53
all: c_iff.lib
54
doc: c_iff.txt
55
56
c_iff.lib: $(OBJS)
57
$(RM) c_iff.lib
58
$(AR) $@ $(OBJS)
59
60
c_iff.txt:
61
perl autodoc.pl *.c >c_iff.txt
62
63
example: example.o c_iff.lib
64
$(LD) $(LDFLAGS) $< $(O_FLAG) $@ LIB c_iff.lib
65
66
$(OBJS): c_iff.h
67
68
clean:
69
$(RM) c_iff.lib
70
$(RM) #?.o
71
$(RM) #?.lnk
72
$(RM) c_iff.txt
73
$(RM) example
74
$(RM) test1.iff
75