X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=Makefile;h=fb3494ed7d3b0ef98be93f0445304574bdf79924;hb=047ce51e23f95df6272b920d8a4edea7c0b25971;hp=8f84c9d29b0060d709815792875fe862f84072bc;hpb=bbe4a0596848ca6643a7a4a3bcd071b86ddb7b09;p=zpackage diff --git a/Makefile b/Makefile index 8f84c9d..fb3494e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,9 @@ -install: +CFLAGS=-Wall -std=c99 + +elftype: elf/elftype.c + $(CC) $(CFLAGS) -o $@ $+ + +install: elftype install -D zpm $(DESTDIR)/bin/zpm install -D zpm-note $(DESTDIR)/bin/zpm-note install -D zpm-sequence $(DESTDIR)/bin/zpm-sequence @@ -6,4 +11,5 @@ install: 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 install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes/ack + install -D elftype $(DESTDIR)/usr/sbin/elftype #SPOOL=$(DESTDIR)/var/lib/admin/notes ./zpm-sequence -c notes