Add Makefile and submodule
This commit is contained in:
parent
ac5d6efaea
commit
df4ffee71c
|
@ -0,0 +1,12 @@
|
|||
.PHONY: check-and-reinit-submodules all
|
||||
all: .check-and-reinit-submodules
|
||||
@${MAKE} -C CBQN/ MAKEFLAGS=
|
||||
|
||||
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
|
Loading…
Reference in New Issue