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
Added a test for MUIA_Listview_SelectChange.
[AROS.git]
/
tools
/
dtdesc
/
c_iff
/
Makefile
blob
c257597ab1d82b9d0a85240584f8089efcbe9450
1
# Makefile for c_iff
2
3
#.SUFFIXES: .c.o
4
5
CC
=
\
6
cc
7
8
CFLAGS
= -
I .
9
10
RM
=
rm
-
f
11
AR
=
ar
rv
12
RANLIB
=
ranlib
13
14
OBJS
=
\
15
checkiff.o \
16
closeiff.o \
17
endchunk.o \
18
filesize.o \
19
fixiffsize.o \
20
newchunk.o \
21
newiff.o \
22
newsubform.o \
23
openiff.o \
24
readchunkdata.o \
25
readchunkheader.o \
26
skipchunkdata.o \
27
writechunkdata.o
28
29
%
.o
: %
.c
30
$(
CC
) $(
CFLAGS
) -
c
$< -
o
$
@
31
32
#.c.o:
33
# $(CC) $(CFLAGS) -c $*.c -o $@
34
35
all
:
libc_iff.a
36
doc
:
c_iff.txt
37
38
libc_iff.a
: $(
OBJS
)
39
$(
RM
)
libc_iff.a
40
$(
AR
) $
@
$(
OBJS
)
41
$(
RANLIB
) $
@
42
43
c_iff.txt
:
44
perl autodoc.pl
*
.c
>
c_iff.txt
45
46
example
:
example.o libc_iff.a hot.iff
47
$(
CC
) $(
CFLAGS
) -
o
$
@ example.o
-
L .
-
lc_iff
48
49
$(
OBJS
) :
c_iff.h
50
51
clean
:
52
$(
RM
)
libc_iff.a
53
$(
RM
) *
.o
54
$(
RM
)
c_iff.txt
55
$(
RM
)
example
56
$(
RM
)
test1.iff
57