From 60613d00bbd7ad3541670d26dc27073810c53c29 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 24 Aug 2025 10:27:59 +0900 Subject: rewrite without using ncurses --- Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 47367df..4b69626 100644 --- a/Makefile +++ b/Makefile @@ -4,15 +4,10 @@ DIST := bin PROGRAM := $(DIST)/2048 -all: run - -run: build - ./$(PROGRAM) - -build: $(DIST) $(PROGRAM) +all: $(DIST) $(PROGRAM) $(PROGRAM): 2048$(SUFFIX).c - gcc $^ -lncurses -o $@ + gcc $^ -o $@ $(DIST): @mkdir $@ @@ -20,4 +15,4 @@ $(DIST): clean: @rm -rf $(DIST) -.PHONY: all run build clean +.PHONY: all clean -- cgit v1.2.3-70-g09d2