mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-03-23 10:34:14 -05:00
make adjustdepends work on OSX
This commit is contained in:
parent
e416db3859
commit
efd1b55cd8
|
|
@ -15,8 +15,9 @@ export AR := $(PREFIX)ar
|
|||
export OBJCOPY := $(PREFIX)objcopy
|
||||
|
||||
define adjustdepends
|
||||
cp $(DEPSDIR)/$*.d $(DEPSDIR)/$*.P;
|
||||
sed -e 's/#.*//' -e 's/^[^:]*: \+//' -e 's/^ *//' -e 's/ *\\$$//' -e '/^$$/ d' -e 's/$$/ :/' < $(DEPSDIR)/$*.P >> $(DEPSDIR)/$*.d;
|
||||
cp $(DEPSDIR)/$*.d $(DEPSDIR)/$*.P;
|
||||
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/^ *//' -e 's/ *\\$$//' -e
|
||||
'/^$$/ d' -e 's/$$/ :/' < $(DEPSDIR)/$*.P >> $(DEPSDIR)/$*.d;
|
||||
rm $(DEPSDIR)/$*.P
|
||||
endef
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user