mirror of
https://github.com/BernardoGiordano/Checkpoint
synced 2024-11-28 03:20:17 +00:00
Allow building for only one platform properly
This commit is contained in:
parent
4395619de0
commit
6aefd4fe42
1 changed files with 10 additions and 6 deletions
16
Makefile
16
Makefile
|
@ -13,10 +13,10 @@ clean:
|
||||||
@rm -f 3ds/romfs/cheats/*.bz2
|
@rm -f 3ds/romfs/cheats/*.bz2
|
||||||
@rm -f switch/romfs/cheats/*.bz2
|
@rm -f switch/romfs/cheats/*.bz2
|
||||||
|
|
||||||
3ds: cheats
|
3ds: 3ds_cheats
|
||||||
@$(MAKE) -C 3ds VERSION_MAJOR=${VERSION_MAJOR} VERSION_MINOR=${VERSION_MINOR} VERSION_MICRO=${VERSION_MICRO} GIT_REV=${GIT_REV} CHEAT_SIZE_DECOMPRESSED=$(shell stat -t "sharkive/build/3ds.json" | awk '{print $$2}')
|
@$(MAKE) -C 3ds VERSION_MAJOR=${VERSION_MAJOR} VERSION_MINOR=${VERSION_MINOR} VERSION_MICRO=${VERSION_MICRO} GIT_REV=${GIT_REV} CHEAT_SIZE_DECOMPRESSED=$(shell stat -t "sharkive/build/3ds.json" | awk '{print $$2}')
|
||||||
|
|
||||||
switch: cheats
|
switch: switch_cheats
|
||||||
@$(MAKE) -C switch VERSION_MAJOR=${VERSION_MAJOR} VERSION_MINOR=${VERSION_MINOR} VERSION_MICRO=${VERSION_MICRO} GIT_REV=${GIT_REV} CHEAT_SIZE_DECOMPRESSED=$(shell stat -t "sharkive/build/switch.json" | awk '{print $$2}')
|
@$(MAKE) -C switch VERSION_MAJOR=${VERSION_MAJOR} VERSION_MINOR=${VERSION_MINOR} VERSION_MICRO=${VERSION_MICRO} GIT_REV=${GIT_REV} CHEAT_SIZE_DECOMPRESSED=$(shell stat -t "sharkive/build/switch.json" | awk '{print $$2}')
|
||||||
|
|
||||||
format:
|
format:
|
||||||
|
@ -25,8 +25,12 @@ format:
|
||||||
cppcheck:
|
cppcheck:
|
||||||
@cppcheck . --enable=all --force 2> cppcheck.log
|
@cppcheck . --enable=all --force 2> cppcheck.log
|
||||||
|
|
||||||
cheats:
|
cheats: $(SUBDIRS:=_cheats)
|
||||||
@make --always-make -C 3ds cheats
|
|
||||||
@make --always-make -C switch cheats
|
|
||||||
|
|
||||||
.PHONY: $(SUBDIRS) clean format cppcheck cheats
|
3ds_cheats:
|
||||||
|
@$(MAKE) --always-make -C 3ds cheats
|
||||||
|
|
||||||
|
switch_cheats:
|
||||||
|
@$(MAKE) --always-make -C switch cheats
|
||||||
|
|
||||||
|
.PHONY: $(SUBDIRS) clean format cppcheck cheats 3ds_cheats switch_cheats
|
||||||
|
|
Loading…
Reference in a new issue