build: any target need cmake first

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-04 11:51:11 +02:00
parent cb1de2633d
commit 64b09bdb02
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ distclean:
$(RM) -r ${builddir} $(BUILDLN) $(TARGETS)
$(ECHO) " done"
%:
%: cmake
$(ECHO) "Running make $@"
$(MAKE) -C ${builddir} $@
$(and $(filter clean,$@),$(RM) $(BUILDLN) $(TARGETS))