aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-05-05 14:29:47 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-05-05 14:29:47 +0200
commit6cc51173f91bc0f25fdacda2d4e44179ab4c98fb (patch)
treec50d9d869088a7dd201a2aa8447de8320af9e3d1 /Makefile
parentfd01f9ead98329fddf1863305263b04e8cdef880 (diff)
downloadAsciiMap-6cc51173f91bc0f25fdacda2d4e44179ab4c98fb.tar.gz
Makefile update
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)