summaryrefslogtreecommitdiff
path: root/package/aboot/src/srmbootfat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/aboot/src/srmbootfat/Makefile')
-rw-r--r--package/aboot/src/srmbootfat/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/aboot/src/srmbootfat/Makefile b/package/aboot/src/srmbootfat/Makefile
new file mode 100644
index 000000000..27808ea2e
--- /dev/null
+++ b/package/aboot/src/srmbootfat/Makefile
@@ -0,0 +1,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
+