aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
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