diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-24 10:27:59 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-24 13:34:43 +0900 |
| commit | 60613d00bbd7ad3541670d26dc27073810c53c29 (patch) | |
| tree | 70c251ecffe7b98bae9117c7191c50f49267a358 /Makefile | |
| parent | 307dd4110d0dd2e1246288394f8a2b46a2e55add (diff) | |
| download | 2048.c-60613d00bbd7ad3541670d26dc27073810c53c29.tar.gz 2048.c-60613d00bbd7ad3541670d26dc27073810c53c29.tar.zst 2048.c-60613d00bbd7ad3541670d26dc27073810c53c29.zip | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -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 |
