Merge pull request #60 from tmakatos/v0.7-devel
don't use implicit rule when statically compiling emitters
This commit is contained in:
commit
ca8f6df229
10
Makefile.in
10
Makefile.in
@ -129,10 +129,10 @@ CXX:=@CXX@
|
||||
STRIP:=@STRIP@
|
||||
OBJECTS:=$(subst .cc,.o,$(SOURCE))
|
||||
|
||||
# FIXME OBJECTS += $(PLUGIN_LIBS) doesn't work, probably because it's empty at
|
||||
# FIXME EMITTERS += $(PLUGIN_LIBS) doesn't work, probably because it's empty at
|
||||
# the time of use?
|
||||
ifeq ("@STATIC@", "yes")
|
||||
OBJECTS += contrib/*.a
|
||||
EMITTERS += contrib/*.a
|
||||
endif
|
||||
|
||||
TOP_DIR:=@top_srcdir@
|
||||
@ -198,11 +198,11 @@ endif
|
||||
|
||||
#----------------------------------------------------------------
|
||||
|
||||
lib/libpdata.a: $(OBJECTS)
|
||||
lib/libpdata.a: $(OBJECTS) $(EMITTERS)
|
||||
@echo " [AR] $<"
|
||||
$(V)ar -rv $@ $(OBJECTS) > /dev/null 2>&1
|
||||
$(V)ar -rv $@ $(OBJECTS) $(EMITTERS) > /dev/null 2>&1
|
||||
|
||||
bin/pdata_tools: $(OBJECTS)
|
||||
bin/pdata_tools: $(OBJECTS) $(EMITTERS)
|
||||
@echo " [LD] $@"
|
||||
$(V) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(CXXLIB)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user