X-Git-Url: https://git.sthu.org/?p=smailq.git;a=blobdiff_plain;f=Makefile;h=7c3b37bfdabda427e8c01663c41ca0ad9832975e;hp=aa72315f3be33cb2397198755b945947561d340d;hb=7a102a5e45835cca2a5902a2ae83a9cdfe105e93;hpb=2e355565092fb8b1121dd4bb335c9ae1c69ba9df diff --git a/Makefile b/Makefile index aa72315..7c3b37b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ PREFIX ?= /usr BIN_SUFFIX ?= +CFLAGS = -std=c99 -pedantic -Wall -Wextra # Where the script binary should go BINPATH = $(DESTDIR)$(PREFIX)/bin @@ -9,7 +10,7 @@ SHAREDIR = $(DESTDIR)$(PREFIX)/share/smailq CONFFILE = $(SHAREDIR)/smailq.conf.sample ###################################################################### -all: manpage +all: sendmail manpage install: all mkdir -p $(BINPATH) $(SBINPATH) $(MANPATH) $(SHAREDIR)