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.vbcc
blob
f3df50fbc00124eb048c7fbd07a4ebd2bebea8af
1
# Makefile for c_iff
2
3
.SUFFIXES: .c.o
4
5
CC = vc
6
7
CFLAGS =
8
9
RM = delete FORCE
10
11
OBJS = \
12
checkiff.o \
13
closeiff.o \
14
endchunk.o \
15
filesize.o \
16
fixiffsize.o \
17
newchunk.o \
18
newiff.o \
19
newsubform.o \
20
openiff.o \
21
readchunkdata.o \
22
readchunkheader.o \
23
skipchunkdata.o \
24
writechunkdata.o
25
26
.c.o:
27
$(CC) $(CFLAGS) -c $*.c -o $@
28
29
all: c_iff.lib
30
doc: c_iff.txt
31
32
c_iff.lib: $(OBJS)
33
delete FORCE c_iff.lib
34
join $(OBJS) as $@
35
36
c_iff.txt:
37
perl autodoc.pl *.c >c_iff.txt
38
39
example: example.o c_iff.lib hot.iff
40
phxlnk from vlib:startup.o example.o c_iff.lib vlib:mieee.lib vlib:vc.lib vlib:amiga.lib to example
41
42
$(OBJS): c_iff.h
43
44
clean:
45
$(RM) c_iff.lib
46
$(RM) #?.o
47
$(RM) c_iff.txt
48
$(RM) example
49
$(RM) test1.iff
50