repo.or.cz
/
tangerine.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added missing properties.
[tangerine.git]
/
tools
/
dtdesc
/
c_iff
/
Makefile.vbccppc
blob
90e593055f54292ab07c0fee775c4042df360372
1
# Makefile for c_iff
2
3
.SUFFIXES: .c.o
4
5
CC = vc
6
7
CFLAGS = +ppc
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: libc_iff.a
30
doc: c_iff.txt
31
32
libc_iff.a: $(OBJS)
33
$(RM) libc_iff.a
34
ar -q $@ $(OBJS)
35
36
c_iff.txt:
37
perl autodoc.pl *.c >c_iff.txt
38
39
example: example.o libc_iff.a hot.iff
40
vlink -belf32powerup -nostdlib -Lvlibppc: -Ljd:aros/dtdesc/c_iff/ vlibppc:startup.o example.o -lc_iff -lvc -lpowerup -o example
41
42
$(OBJS): c_iff.h
43
44
clean:
45
$(RM) libc_iff.a
46
$(RM) #?.o
47
$(RM) c_iff.txt
48
$(RM) example
49
$(RM) test1.iff
50