summaryrefslogtreecommitdiff
path: root/support/lintex/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/lintex/Makefile
Initial commit
Diffstat (limited to 'support/lintex/Makefile')
-rw-r--r--support/lintex/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/support/lintex/Makefile b/support/lintex/Makefile
new file mode 100644
index 0000000000..193da4aba9
--- /dev/null
+++ b/support/lintex/Makefile
@@ -0,0 +1,23 @@
+# $Id: Makefile,v 1.3 2001/12/02 11:00:05 loreti Exp $
+
+CFLAGS += -ansi -pedantic -Wall `pkg-config --libs --cflags libconfig`
+#CFLAGS = -ansi -Wall -g `pkg-config --libs --cflags libconfig`
+
+ROOT = /usr/local
+
+.PHONY: install clean
+
+lintex: lintex.c Makefile
+ $(CC) $(CXXFLAGS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ lintex.c
+
+install: lintex
+ strip lintex
+ mv lintex $(ROOT)/bin
+ cp lintex.1 $(ROOT)/man/man1
+
+lintex.pdf: lintex.1
+ groff -man -Tps $< | ps2pdf - $@
+
+clean:
+ -rm *~ *.o core
+ -rm lintex lintex.pdf