X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=build%2FMakefile;h=15bafe723ae0f65f66c1e4c46051f5d3f4cc14be;hb=ed4e86de76d1c3bfb685207fe00078950f67355a;hp=f33fd566732d9df87a0dbd6afa862e57727f975c;hpb=71e3224eb3fe684c9519d42a0f790531403cb056;p=libucw.git diff --git a/build/Makefile b/build/Makefile index f33fd566..15bafe72 100644 --- a/build/Makefile +++ b/build/Makefile @@ -1 +1,12 @@ # Makefile for Sherlock Build Tools + +DIRS+=build + +$(o)/build/genhash: $(o)/build/genhash.o + +# This is a hack which compensates make's desires for propagating per-rule settings +# of variables: if some module specifies its own LIBS and it depends on genhash, +# genhash is sometimes built with the module's LIBS (if it isn't already built). +# A proper solution would be using a different rule for linking build/*, but +# as it currently concerns only genhash, it's easier to battle this way. +$(o)/build/genhash: LIBS=