Update Makefile to be comaptible with CLion

This commit is contained in:
Maschell 2023-02-17 11:51:14 +01:00
parent 9a6c6a1fa6
commit 83d0fa07a7

View File

@ -115,13 +115,13 @@ install: dist-bin
bzip2 -cd libwupsbackend-$(VERSION).tar.bz2 | tar -xf - -C $(DESTDIR)$(DEVKITPRO)/wups
lib:
@[ -d $@ ] || mkdir -p $@
@$(shell [ ! -d lib ] && mkdir -p lib)
share:
@[ -d $@ ] || mkdir -p $@
@$(shell [ ! -d 'share' ] && mkdir -p 'share')
release:
@[ -d $@ ] || mkdir -p $@
@$(shell [ ! -d release ] && mkdir -p release)
share/libwupsbackend.ld : lib/libwupsbackend.a | share release
cp $(CURDIR)/release/*.ld $(CURDIR)/$@