OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc2cc1
)
Link tests/examples with -lfoo instead of libfoo.a
author
Måns Rullgård
<mans@mansr.com>
Wed, 1 Apr 2009 00:53:28 +0000
(
00:53
+0000)
committer
Måns Rullgård
<mans@mansr.com>
Wed, 1 Apr 2009 00:53:28 +0000
(
00:53
+0000)
Originally committed as revision 18296 to svn://svn.ffmpeg.org/ffmpeg/trunk
subdir.mak
patch
|
blob
|
history
diff --git
a/subdir.mak
b/subdir.mak
index
6b098cd
..
03c852a
100644
(file)
--- a/
subdir.mak
+++ b/
subdir.mak
@@
-20,7
+20,7
@@
INCINSTDIR := $(INCDIR)/lib$(NAME)
define RULES
$(SUBDIR)%$(EXESUF): $(SUBDIR)%.o
- $(CC) $(FFLDFLAGS) -o $$@ $$^
$(SUBDIR)$(LIB
NAME) $(FFEXTRALIBS)
+ $(CC) $(FFLDFLAGS) -o $$@ $$^
-l$(FULL
NAME) $(FFEXTRALIBS)
$(SUBDIR)%-test.o: $(SUBDIR)%.c
$(CC) $(CFLAGS) -DTEST -c -o $$@ $$^