2048/Makefile

13 lines
303 B
Makefile
Raw 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:
@if git submodule status | egrep -q '^[-]|^[+]' ; then \
echo "INFO: reinitializing git submodules"; \
git submodule update --init; \
fi