Hash :
0426807b
Author :
Date :
2008-04-04T09:17:17
%-recursive:
ifneq ($(SUBDIRS),)
for d in $(SUBDIRS) ; do $(MAKE) -C $$d $* || exit $$? ; done
else
@:
endif
GARBAGE = *~ \#*\#
clean: clean-recursive
clean: clean-garbage
clean: clean-local
clean-garbage:
$(RM) $(GARBAGE)
clean-local:
distclean: distclean-recursive
distclean: distclean-local
distclean-local: clean-garbage clean-local
maint-clean: distclean
maint-clean: maint-clean-local
maint-clean-local:
install: install-recursive
install: install-local
install-local:
%.lo: %.cpp
$(LIBTOOL) --mode=compile $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $^
%.la:
$(LIBTOOL) --mode=link $(CXX) -o $@ -rpath $(libdir) $^ $(LDFLAGS) $(LIBS)