annotate TOOLS/realcodecs/Makefile @ 20546:d66105346fb9

--with-codecsdir --> --codecsdir
author diego
date Tue, 31 Oct 2006 14:50:56 +0000
parents 0fd1b699210c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19885
7f9b2b26e905 Replace silly compilation shell scripts by a simple Makefile.
diego
parents:
diff changeset
1 SRCS = 14_4.c 28_8.c cook.c drv2.c drv3.c drv4.c ra.c rv30.c sipr.c
7f9b2b26e905 Replace silly compilation shell scripts by a simple Makefile.
diego
parents:
diff changeset
2 TARGETS = $(SRCS:.c=.so.6.0)
7f9b2b26e905 Replace silly compilation shell scripts by a simple Makefile.
diego
parents:
diff changeset
3
7f9b2b26e905 Replace silly compilation shell scripts by a simple Makefile.
diego
parents:
diff changeset
4 %.o: %.c
7f9b2b26e905 Replace silly compilation shell scripts by a simple Makefile.
diego
parents:
diff changeset
5 cc -c $< -g
7f9b2b26e905 Replace silly compilation shell scripts by a simple Makefile.
diego
parents:
diff changeset
6
7f9b2b26e905 Replace silly compilation shell scripts by a simple Makefile.
diego
parents:
diff changeset
7 %.so.6.0: %.o
7f9b2b26e905 Replace silly compilation shell scripts by a simple Makefile.
diego
parents:
diff changeset
8 ld -shared -o $@ $< -ldl -lc
7f9b2b26e905 Replace silly compilation shell scripts by a simple Makefile.
diego
parents:
diff changeset
9
7f9b2b26e905 Replace silly compilation shell scripts by a simple Makefile.
diego
parents:
diff changeset
10 all: $(TARGETS)
7f9b2b26e905 Replace silly compilation shell scripts by a simple Makefile.
diego
parents:
diff changeset
11
7f9b2b26e905 Replace silly compilation shell scripts by a simple Makefile.
diego
parents:
diff changeset
12 clean:
19903
0fd1b699210c Remove just the targets, not the original codecs.
diego
parents: 19885
diff changeset
13 rm -f $(TARGETS)