From 7b460110b139c0e8a488f695459c150a517d34b6 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 4 Jul 2026 00:11:12 -0300 Subject: made the 'main menu' also ncurses because i was bored and remembered this thing existed and i wanna work on it more but i don't really have any idea what else to add to it... --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a1e2ae7..ba710d9 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ CC = gcc -CFLAGS = -Wall -Wextra -lncurses +CFLAGS = -Wall -Wextra -O2 -pipe +LDLIBS = -lncurses -ltinfo TARGET = petratc SRC = petratc.c $(wildcard games/*.c) PREFIX = /usr/local $(TARGET): $(SRC) - $(CC) $(CFLAGS) -o $(TARGET) $(SRC) + $(CC) $(CFLAGS) -o $(TARGET) $(SRC) $(LDLIBS) install: $(TARGET) install -D $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET) -- cgit v1.3-2-g0d8e