diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,14 +1,17 @@ -.PHONY: all clean +.PHONY: all clean termio all: tetris clean: rm -f tetris +termio: termio/.git termio/libtermio.a + + tetris: $(wildcard *.c *.h) termio termio/libtermio.a gcc -Wall -Wextra -std=c11 -O2 -fwrapv -o $@ $(filter %.c,$^) -Itermio termio/libtermio.a -termio: +termio/.git: git submodule update --init --recursive termio/libtermio.a: |