X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=Makefile;h=239047f9d40cb0113e1866151736d9315c4d4204;hb=768968c058e7f068ef97c0be5820ac26e7647504;hp=780114a775b05b678f60d2200b509d36eff686d3;hpb=c2e595ca487b9eb5c1e1bc2ecf89b86fbb1c1821;p=zpackage diff --git a/Makefile b/Makefile index 780114a..239047f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ CFLAGS=-Wall -std=c99 +programs: elftype soname + elftype: elf/elftype.c $(CC) $(CFLAGS) -o $@ $+ @@ -11,6 +13,7 @@ install: elftype install -D zpm-note $(DESTDIR)/bin/zpm-note install -D zpm-bug $(DESTDIR)/bin/zpm-bug install -D zpm-sequence $(DESTDIR)/bin/zpm-sequence + install -D zpm-preserve $(DESTDIR)/bin/zpm-preserve install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes/open