diff options
| author | Preston Pan <preston@nullring.xyz> | 2023-02-06 02:04:44 -0800 |
|---|---|---|
| committer | Preston Pan <preston@nullring.xyz> | 2023-02-06 02:04:44 -0800 |
| commit | 762bf741fd6db043f06448a19b554cc4946777e6 (patch) | |
| tree | 17b2089bb7cb574db685fcc42caee5cf30553d13 /Makefile | |
| parent | fdedca4e02bfcafc1cac049c98c8fa202f8d4c24 (diff) | |
add version message; change binary name
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,12 +1,15 @@ CC=gcc -CFLAGS=-I. -pthread -fsanitize=address +CFLAGS=-I. -pthread DESTDIR=/usr/local/bin generate: - $(CC) -o snake snake.c vector.c conio.c $(CFLAGS) + $(CC) -o snake3 snake.c vector.c conio.c $(CFLAGS) install: - cp snake $(DESTDIR) + cp snake3 $(DESTDIR) clean: - rm snake + rm snake3 + +uninstall: + -rm $(DESTDIR)/snake3 |
