From 3bd7ea7520e13f5fabcfadb1a7630398bc1dca6d Mon Sep 17 00:00:00 2001 From: yzrh Date: Thu, 31 Dec 2020 18:43:29 +0000 Subject: Improve portability. --- src/GNUmakefile | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 src/GNUmakefile (limited to 'src/GNUmakefile') 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 -# -# 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 -- cgit v1.2.3