build: any target need cmake first
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
cb1de2633d
commit
64b09bdb02
2
Makefile
2
Makefile
|
@ -39,7 +39,7 @@ distclean:
|
||||||
$(RM) -r ${builddir} $(BUILDLN) $(TARGETS)
|
$(RM) -r ${builddir} $(BUILDLN) $(TARGETS)
|
||||||
$(ECHO) " done"
|
$(ECHO) " done"
|
||||||
|
|
||||||
%:
|
%: cmake
|
||||||
$(ECHO) "Running make $@…"
|
$(ECHO) "Running make $@…"
|
||||||
$(MAKE) -C ${builddir} $@
|
$(MAKE) -C ${builddir} $@
|
||||||
$(and $(filter clean,$@),$(RM) $(BUILDLN) $(TARGETS))
|
$(and $(filter clean,$@),$(RM) $(BUILDLN) $(TARGETS))
|
||||||
|
|
Loading…
Reference in New Issue