]> pd.if.org Git - zpackage/blob - Makefile
added program to output the elf type of a file
[zpackage] / Makefile
1 CFLAGS=-Wall -std=c99
2
3 elftype: elf/elftype.c
4         $(CC) $(CFLAGS) -o $@ $+
5
6 install: elftype
7         install -D zpm $(DESTDIR)/bin/zpm
8         install -D zpm-note $(DESTDIR)/bin/zpm-note
9         install -D zpm-sequence $(DESTDIR)/bin/zpm-sequence
10         install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin
11         install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes
12         install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes/open
13         install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes/ack
14         install -D elftype $(DESTDIR)/usr/sbin/elftype
15         #SPOOL=$(DESTDIR)/var/lib/admin/notes ./zpm-sequence -c notes