From 73b7f60df7d66ac8cb6072de809e792ebc8cf16f Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Sun, 15 Apr 2018 05:46:17 +0000 Subject: [PATCH] cleanup makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d517fb2..48f6d56 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CFLAGS=-Wall -W -Wextra -Werror -std=c99 -Ilib -Isqlite -Ielf -I. -Ilzma/api +CFLAGS=-Wall -W -Wextra -Werror -Wno-implicit-fallthrough -std=c99 -Ilib -Isqlite -Ielf -I. -Ilzma/api ZPMVER:=$(shell git tag --list 'v[0-9]*' | sed -e 's/^v//' | sort -nr | head -1) ifeq ($(strip $(ZPMVER)),) @@ -31,14 +31,14 @@ package: zpm-0.1-1.zpm ZPM:= ./zpm -P scripts:bin:. -zpm-0.1-1.zpm: programs scripts +zpm-0.1-1.zpm: programs rm -f $@ ./zpm -P scripts:bin:. newpackage -f $@ -v 0.1 zpm ./zpm -P scripts:bin:. addtopackage -f $@ -P /usr/libexec/zpm -v 0.1 zpm $(PROGRAMS) tarball: zpm-0.1-1.tar.xz -zpm-0.1-1.tar.xz: programs scripts +zpm-0.1-1.tar.xz: programs rm -f $@ tar -cJf $@ --transform='s|^|usr/libexec/zpm/|' \ --transform='s|^usr/libexec/zpm/zpm$$|usr/bin/zpm|' \ -- 2.40.0