From 6cc51173f91bc0f25fdacda2d4e44179ab4c98fb Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 5 May 2019 14:29:47 +0200 Subject: Makefile update --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3