summaryrefslogtreecommitdiff
path: root/package/aboot/src/srmbootfat/Makefile
blob: 27808ea2e5252c43e5a109e90840a95e71a2e9ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ifndef ($(CC))
CC	= gcc
endif
override CFLAGS	+= -O2 -g -pipe -Wall
#override LDFLAGS	+= -s
SBINDIR	= ../bin

all:	srmbootfat srmbootraw srmbootfat.1 srmbootraw.8

srmbootfat: srmbootfat.c msdos.h
	$(CC) $(CFLAGS) $(LDFLAGS) -o srmbootfat srmbootfat.c

srmbootraw: srmbootraw.c
	$(CC) $(CFLAGS) $(LDFLAGS) -o srmbootraw srmbootraw.c

srmbootfat.1: srmbootfat.sgml
	nsgmls srmbootfat.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl

srmbootraw.8: srmbootraw.sgml
	nsgmls srmbootraw.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl

clean:
	rm -f srmbootfat srmbootraw srmbootfat.1 srmbootraw.8 manpage.links manpage.log manpage.refs