diff options
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r-- | src/GNUmakefile | 28 |
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 |