aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5ef4629..78d7bcc 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,9 @@ CC = /usr/bin/gcc
CFLAGS = -Wall
LDFLAGS = -lm
SOURCEDIR = src
-OUTPUT = bitmap
+OUTPUT = asciimap
BUILDDIR = build
+PREFIX = /
FILE = 022.bmp
SRCS = $(wildcard $(SOURCEDIR)/*.c)
@@ -33,3 +34,6 @@ clean:
run: build
$(BUILDDIR)/$(OUTPUT) $(FILE)
+
+install: build
+ @cp $(BUILDDIR)/$(OUTPUT) $(PREFIX)/bin/$(OUTPUT)