aboutsummaryrefslogtreecommitdiffstats
path: root/troff/libhnj/Makefile.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-10-06 21:30:09 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-10-06 21:30:09 +0000
commitaa7798c94fa57f6c00fab4393c9fe91334864371 (patch)
tree61b5a60e9c086b1ba44b4718e7666304a8edab6f /troff/libhnj/Makefile.mk
downloadsrc-aa7798c94fa57f6c00fab4393c9fe91334864371.tar.gz
src-aa7798c94fa57f6c00fab4393c9fe91334864371.zip
Import heirloom doctools snapshot from git as of 161006vendor/heirloom-doctools/20161006
Notes
Notes: svn path=/vendor/heirloom-doctools/dist/; revision=306788 svn path=/vendor/heirloom-doctools/20161006/; revision=306789; tag=vendor/heirloom-doctools/20161006
Diffstat (limited to 'troff/libhnj/Makefile.mk')
-rw-r--r--troff/libhnj/Makefile.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/troff/libhnj/Makefile.mk b/troff/libhnj/Makefile.mk
new file mode 100644
index 000000000000..30ede3c72596
--- /dev/null
+++ b/troff/libhnj/Makefile.mk
@@ -0,0 +1,22 @@
+FLAGS =
+
+.c.o:
+ $(CC) $(CFLAGS) $(WARN) $(CPPFLAGS) $(FLAGS) -c $<
+
+OBJ = hnjalloc.o hyphen.o
+
+all: libhnj.a test
+
+libhnj.a: $(OBJ)
+ $(AR) crs $@ $(OBJ)
+
+test: test.o libhnj.a
+ $(CC) $(CFLAGS) $(LDFLAGS) test.o -L. -lhnj -o test
+
+install:
+
+clean:
+ rm -f $(OBJ) test test.o core log *~
+
+mrproper: clean
+ rm -f libhnj.a