Mercurial > pt1.oyama
changeset 23:f80731a89036
do not link td.o into shared object
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 26 Feb 2009 16:14:38 +0900 |
parents | 08f9a97364e0 |
children | f2cce7becf52 |
files | arib25v023/arib25/src/Makefile |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/arib25v023/arib25/src/Makefile Wed Feb 25 22:59:55 2009 +0900 +++ b/arib25v023/arib25/src/Makefile Thu Feb 26 16:14:38 2009 +0900 @@ -15,7 +15,7 @@ LIBS = $(PCSC_LIBS) -lm LDFLAGS ?= -OBJS = arib_std_b25.o b_cas_card.o multi2.o td.o ts_section_parser.o +OBJS = arib_std_b25.o b_cas_card.o multi2.o ts_section_parser.o HEADERS = arib_std_b25.h b_cas_card.h portable.h TARGET_APP = b25 TARGET_LIB = libarib25.so @@ -26,10 +26,10 @@ all: $(TARGETS) clean: - rm -f $(OBJS) $(TARGETS) $(DEPEND) + rm -f $(OBJS) td.o $(TARGETS) $(DEPEND) -$(TARGET_APP): $(OBJS) - $(CC) $(LDFLAGS) -o $(TARGET_APP) $(OBJS) $(LIBS) +$(TARGET_APP): $(OBJS) td.o + $(CC) $(LDFLAGS) -o $(TARGET_APP) $(OBJS) td.o $(LIBS) $(TARGET_LIB): $(OBJS) $(CC) $(LDFLAGS) -shared -o $(TARGET_LIB) $(OBJS) $(LIBS) -Wl,-soname,$(SONAME)