aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-24 10:27:59 +0900
committernsfisis <nsfisis@gmail.com>2025-08-24 13:34:43 +0900
commit60613d00bbd7ad3541670d26dc27073810c53c29 (patch)
tree70c251ecffe7b98bae9117c7191c50f49267a358 /Makefile
parent307dd4110d0dd2e1246288394f8a2b46a2e55add (diff)
download2048.c-60613d00bbd7ad3541670d26dc27073810c53c29.tar.gz
2048.c-60613d00bbd7ad3541670d26dc27073810c53c29.tar.zst
2048.c-60613d00bbd7ad3541670d26dc27073810c53c29.zip
rewrite without using ncursesHEADmain
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 3 insertions, 8 deletions
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