aboutsummaryrefslogtreecommitdiffstats
path: root/src/GNUmakefile
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2020-12-31 18:43:29 +0000
committeryzrh <yzrh@noema.org>2020-12-31 18:45:02 +0000
commit3bd7ea7520e13f5fabcfadb1a7630398bc1dca6d (patch)
tree1f8336f75ee871574e37abbe49ddbaafcf7e88fc /src/GNUmakefile
parent1f62c53da6edc5a82a1e0eceb401b2274cd4a0d1 (diff)
downloadmelon-3bd7ea7520e13f5fabcfadb1a7630398bc1dca6d.tar.gz
melon-3bd7ea7520e13f5fabcfadb1a7630398bc1dca6d.tar.zst
Improve portability.
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
deleted file mode 100644
index 1263005..0000000
--- a/src/GNUmakefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Copyright (c) 2020, yzrh <yzrh@noema.org>
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-src != ls *.c
-obj = ${src:.c=.o}
-
-PREFIX = /usr/local
-
-CFLAGS = -O3 -march=native -pipe -Wall
-LDFLAGS = -Wl,-O3 -lcrypto -lz -Wl,--as-needed
-
-all: ${obj}
- ${CC} ${LDFLAGS} -o melon $^
-
-clean:
- rm -f melon ${obj}
-
-install:
- install -d ${PREFIX}/bin
- install melon ${PREFIX}/bin/
-
-deinstall:
- rm -f ${PREFIX}/bin/melon
-
-.PHONY: all clean install deinstall