#ifndef NormalLibraryTarget
#define NormalLibraryTarget(libname,objlist) @@\
AllTarget(lib/**/libname.a) @@\
+DependTarget() @@\
@@\
lib/**/libname.a: objlist @@\
$(RM) $@ @@\
#define AdditiveLibraryTarget(libname,objlist) @@\
AllTarget(lib/**/libname.a) @@\
AllTarget(foo/**/libname) @@\
+DependTarget() @@\
@@\
foo/**/libname: objlist @@\
$(ARADD) lib/**/libname.a objlist @@\
AllTarget(objlist) @@\
AllTarget(libdir/lib/**/libname.a) @@\
AllTarget(foo/**/libname) @@\
+DependTarget() @@\
@@\
foo/**/libname: objlist @@\
$(ARADD) libdir/lib/**/libname.a objlist @@\