Mercurial > mplayer.hg
annotate TOOLS/realcodecs/Makefile @ 21235:7c5e2e22a37e
Move contents of loader/config.h to configure/config.h, there are
multiple files by that name, this can cause problems.
author | diego |
---|---|
date | Sat, 25 Nov 2006 20:53:43 +0000 |
parents | 0fd1b699210c |
children |
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 | 13 rm -f $(TARGETS) |