annotate TOOLS/realcodecs/Makefile @ 20589:95695bfce2f0

Add support for conversions from the rgb565 and rgb555 formats
author lucabe
date Thu, 02 Nov 2006 09:01:01 +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)