toolchain/pax - ensure $(bindir) is present before install

$(basedir)/Makefile - fix paths for toolchain archive creation
This commit is contained in:
Nathan Fisher 2021-03-04 14:33:49 -05:00
parent 94998f6491
commit 1e85e6fb7e
2 changed files with 7 additions and 3 deletions

View file

@ -27,6 +27,9 @@ $(bindir)/$(progname): $(objs) | $(bindir)
$(objdir)/%.o: $(src)/%.c $(hdrs) | $(objdir)
$(CC) $(cflags) -o $@ -c $<
$(bindir):
install -d $@
$(objdir):
$(info $(grn)=== Building for $(progname) ===$(reset))
install -d $@