mirror of https://github.com/fairyglade/ly.git
makefile: Use $(MAKE) (#71)
This software requires GNU make to build, which is installed as "gmake" on *BSD. Therefore, use $(MAKE) to make sure that the same GNU make is invoked to build the sub-project.
This commit is contained in:
parent
dcd0aa6de2
commit
04580c6ff0
4
makefile
4
makefile
|
|
@ -41,7 +41,7 @@ $(OBJD)/%.o:%.c
|
||||||
|
|
||||||
$(SUBD)/termbox-next/bin/termbox.a:
|
$(SUBD)/termbox-next/bin/termbox.a:
|
||||||
@echo "building static object $@"
|
@echo "building static object $@"
|
||||||
@cd $(SUBD)/termbox-next && make
|
@(cd $(SUBD)/termbox-next && $(MAKE))
|
||||||
|
|
||||||
$(BIND)/$(NAME):$(OBJS)
|
$(BIND)/$(NAME):$(OBJS)
|
||||||
@echo "compiling $@"
|
@echo "compiling $@"
|
||||||
|
|
@ -74,4 +74,4 @@ clean:
|
||||||
@echo "cleaning workspace"
|
@echo "cleaning workspace"
|
||||||
@rm -rf $(BIND)
|
@rm -rf $(BIND)
|
||||||
@rm -rf $(OBJD)
|
@rm -rf $(OBJD)
|
||||||
@(cd $(SUBD)/termbox-next && make clean)
|
@(cd $(SUBD)/termbox-next && $(MAKE) clean)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue