summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2019-07-24 17:50:05 +0200
committerKatolaZ <katolaz@freaknet.org>2019-07-24 22:50:57 +0100
commit54eae9246240d2f364e2e3cb09cef9ebdbdd94b1 (patch)
tree2d88376616ed3b2641c0e29950cec3214ed86dd3 /config.mk
parent1aa7efdd7a8dcfd1a55f30c2754d1e473f0bb59b (diff)
Rework the Makefile a little
Ensure it's portable Get rid of NAME macro Replace build target with a simple dependency target Add clean target
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk11
1 files changed, 3 insertions, 8 deletions
diff --git a/config.mk b/config.mk
index f17a5d6..5bbe0b7 100644
--- a/config.mk
+++ b/config.mk
@@ -1,10 +1,5 @@
-NAME=gramscii
-VERSION=0.1
-
PREFIX = /usr/local
-BINDIR = $(PREFIX)/bin
-MANDIR = $(PREFIX)/share/man
-
-CFLAGS=-O3 -std=c90 -pedantic -Wall
+BINDIR = ${PREFIX}/bin
+MANDIR = ${PREFIX}/share/man
-CC=cc
+CFLAGS = -O3 -std=c90 -pedantic -Wall