summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoremmadoth <emmadoth@disroot.org>2023-05-09 02:01:09 +0200
committeremmadoth <emmadoth@disroot.org>2023-05-09 02:01:09 +0200
commitc4d2a0f2c7d3bfafb952ac6f59857dbbbd708a92 (patch)
tree47f9e2c51e5d0db2e17eb090d2555df4f323957c /Makefile
parentc1a7f4c5384613efe17a356719112bcb1234e1a4 (diff)
use ncurses
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 55e8df9..a9589df 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,11 @@
-WARN = -Wall -Wextra -Wconversion -Wvla
+WARN = -Wall -Wextra -Wconversion
+LINK = -lncurses
default:
- $(CC) $(WARN) main.c -o cgol
+ $(CC) $(WARN) $(LINK) main.c -o cgol
debug:
- $(CC) $(WARN) -g3 main.c -o cgol
+ $(CC) $(WARN) $(LINK) -g3 main.c -o cgol
run: default
./cgol