Added missing properties.
[tangerine.git] / tools / dtdesc / c_iff / Makefile.vbccppc
blob90e593055f54292ab07c0fee775c4042df360372
1 # Makefile for c_iff
3 .SUFFIXES: .c.o
5 CC = vc
7 CFLAGS = +ppc
9 RM = delete FORCE
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
26 .c.o:
27         $(CC) $(CFLAGS) -c $*.c -o $@
29 all: libc_iff.a
30 doc: c_iff.txt
32 libc_iff.a: $(OBJS)
33         $(RM) libc_iff.a
34         ar -q $@ $(OBJS)
36 c_iff.txt:
37         perl autodoc.pl *.c >c_iff.txt
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
42 $(OBJS): c_iff.h
44 clean:
45         $(RM) libc_iff.a
46         $(RM) #?.o
47         $(RM) c_iff.txt
48         $(RM) example
49         $(RM) test1.iff