Create makefile.yml
This commit is contained in:
parent
3c063334a8
commit
a4370ceae6
30
makefile.yml
Normal file
30
makefile.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
export APP_VERSION := 3.5.0
|
||||||
|
|
||||||
|
ifeq ($(RELEASE),)
|
||||||
|
export APP_VERSION := $(APP_VERSION)-$(shell git describe --dirty --always)
|
||||||
|
endif
|
||||||
|
|
||||||
|
.PHONY: clean all nx pc dist-bin
|
||||||
|
|
||||||
|
all: nx pc
|
||||||
|
|
||||||
|
romfs:
|
||||||
|
@mkdir -p romfs
|
||||||
|
|
||||||
|
romfs/assets.zip : romfs assets
|
||||||
|
@rm -f romfs/assets.zip
|
||||||
|
@zip -rj romfs/assets.zip assets
|
||||||
|
|
||||||
|
dist-bin: romfs/assets.zip
|
||||||
|
$(MAKE) -f Makefile.nx dist-bin
|
||||||
|
|
||||||
|
nx: romfs/assets.zip
|
||||||
|
$(MAKE) -f Makefile.nx
|
||||||
|
|
||||||
|
pc: romfs/assets.zip
|
||||||
|
$(MAKE) -f Makefile.pc
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@rm -Rf romfs
|
||||||
|
$(MAKE) -f Makefile.pc clean
|
||||||
|
$(MAKE) -f Makefile.nx clean
|
Loading…
Reference in New Issue
Block a user