summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-07-12 16:45:37 +0800
committerJSDurand <mmemmew@gmail.com>2021-07-12 16:46:05 +0800
commit8d1acd562f16e8420c66e1f920912ecfa2fc0bda (patch)
tree61408630439b2756c7272fe35f2fe57f318e0318 /makefile
parentd073f301aa94cd7a8278681d8d723d74fa5d5d3f (diff)
Add a sheet
The sheet comes from musescore.com.
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/makefile b/makefile
index 13969b3..ad71e18 100644
--- a/makefile
+++ b/makefile
@@ -25,7 +25,7 @@ TAGS: *.c *.h
main: $(SOURCES:.c=.o)
$(CC) $(LIBS) -o $@ $+
-.PHONY: clean all play clear cat tur coffin
+.PHONY: clean all play clear cat tur coffin tetris
clean:
@echo "Cleaning..."
@@ -41,6 +41,13 @@ $(out): main
play: $(out)
mpv $<
+tetris: main
+ @echo "making tetris song..."
+ -@rm notes.txt
+ @ln -s "tetris/tetris notes.txt" notes.txt
+ @./main
+ @echo "Done."
+
tur: main
@echo "making turkish march..."
-@rm notes.txt