2048/Makefile

13 lines
303 B
Makefile
Raw Permalink Normal View History

2023-01-03 20:50:23 +01:00
.PHONY: check-and-reinit-submodules all
all: .check-and-reinit-submodules
@${MAKE} -C CBQN/
2023-01-03 20:50:23 +01:00
run: 2048.bqn
./CBQN/BQN 2048.bqn
.check-and-reinit-submodules:
2023-01-04 02:27:41 +01:00
@if git submodule status | grep -Eq '^[-]|^[+]' ; then \
2023-01-03 20:50:23 +01:00
echo "INFO: reinitializing git submodules"; \
git submodule update --init; \
fi