mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Merge pull request #1994 from Compyx/make-avail-sanity-check
make avail: check for presence of binaries before creating symbolic links
This commit is contained in:
commit
6fe649ecab
@ -115,7 +115,11 @@ install:
|
||||
$(INSTALL) ../bin/* $(DESTDIR)$(bindir)
|
||||
|
||||
avail:
|
||||
ifneq ($(patsubst %,../bin/%,$(PROGS)),$(wildcard $(patsubst %,../bin/%,$(PROGS))))
|
||||
$(error executables are missing, please run make first)
|
||||
else
|
||||
$(foreach prog,$(PROGS),$(AVAIL_recipe))
|
||||
endif
|
||||
|
||||
unavail:
|
||||
$(foreach prog,$(PROGS),$(UNAVAIL_recipe))
|
||||
|
Loading…
x
Reference in New Issue
Block a user