aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-27 21:58:23 +0000
committerjozan <jozan@noemail.net>2020-11-27 21:58:23 +0000
commit9f93facf36146013a40040ad910d9e467b3f1681 (patch)
tree425465e1c9d01e512a223d875a81ac278dd65e6e /Makefile
parentAdded install and uninstall rules (diff)
downloadunixize-9f93facf36146013a40040ad910d9e467b3f1681.tar.gz
unixize-9f93facf36146013a40040ad910d9e467b3f1681.tar.bz2
unixize-9f93facf36146013a40040ad910d9e467b3f1681.tar.xz
unixize-9f93facf36146013a40040ad910d9e467b3f1681.tar.zst
unixize-9f93facf36146013a40040ad910d9e467b3f1681.zip
Completed man page
FossilOrigin-Name: a94793605a8a1faef6be0c11bdad80c3c915644aa4d442fcac4ba37d7f62baee
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 21950b4..737127c 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@
# ========================
#
# unixize: Makefile
-# 2020-11-02 21:43
+# Fri Nov 27 22:53:29 CET 2020
# Joe
#
# GNU Makefile
@@ -19,18 +19,18 @@
.DEFAULT_GOAL := all
SHELL := /bin/sh
-DESTDIR =
-SRCS_DIR = src/
-OBJS_DIR = obj/
-MAN_DIR = man/
+DESTDIR :=
+SRCS_DIR := src/
+OBJS_DIR := obj/
+MAN_DIR := man/
-CC := cc
-CFLAGS = -std=c89
+CC ?= cc
+CFLAGS += -std=c89
CFLAGS += -Wall
CFLAGS += -Wextra
CFLAGS += -Werror
CFLAGS += -pedantic
-CFLAGS += -march=ivybridge -O2 -pipe
+CFLAGS += -march=native -O2 -pipe
MKDIR := mkdir -p
RM := rm -f
@@ -38,7 +38,7 @@ INSTALL := install
GZIP := gzip
GUNZIP := gunzip
-SRCS_NAME = c_lfiles
+SRCS_NAME := c_lfiles
SRCS_NAME += c_opts
SRCS_NAME += c_subst
SRCS_NAME += c_unixize