fix building startool
This commit is contained in:
parent
7cd577a861
commit
7d2e7305cf
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -199,6 +199,8 @@ tools/wartool$(EXE): tools/wartool.c
|
||||||
$(CC) $(CFLAGS) -o $@ $< $(TOOLLIBS)
|
$(CC) $(CFLAGS) -o $@ $< $(TOOLLIBS)
|
||||||
|
|
||||||
tools/startool$(EXE): tools/startool.c $(TOPDIR)/src/clone/$(OBJDIR)/mpq.o
|
tools/startool$(EXE): tools/startool.c $(TOPDIR)/src/clone/$(OBJDIR)/mpq.o
|
||||||
|
if [ ! -d $(TOPDIR)/src/clone/$(OBJDIR) ]; then \
|
||||||
|
mkdir -p $(TOPDIR)/src/clone/$(OBJDIR); fi
|
||||||
$(CC) $(CFLAGS) -o $@ $< $(TOOLLIBS) $(TOPDIR)/src/clone/$(OBJDIR)/mpq.o
|
$(CC) $(CFLAGS) -o $@ $< $(TOOLLIBS) $(TOPDIR)/src/clone/$(OBJDIR)/mpq.o
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
Loading…
Reference in a new issue