diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-05-05 14:29:47 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-05-05 14:29:47 +0200 |
commit | 6cc51173f91bc0f25fdacda2d4e44179ab4c98fb (patch) | |
tree | c50d9d869088a7dd201a2aa8447de8320af9e3d1 /Makefile | |
parent | fd01f9ead98329fddf1863305263b04e8cdef880 (diff) | |
download | AsciiMap-6cc51173f91bc0f25fdacda2d4e44179ab4c98fb.tar.gz |
Makefile update
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) |