]> pd.if.org Git - zpackage/commitdiff
cleanup makefile
authorNathan Wagner <nw@hydaspes.if.org>
Sun, 15 Apr 2018 05:46:17 +0000 (05:46 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Sun, 15 Apr 2018 05:46:17 +0000 (05:46 +0000)
Makefile

index d517fb2862f4b6973516fa7152e81781661ba30e..48f6d5671111a750f96bc6ca41f6ad4fe3defe12 100644 (file)
--- 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|' \