summaryrefslogtreecommitdiff
path: root/support/poster/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/poster/Makefile
Initial commit
Diffstat (limited to 'support/poster/Makefile')
-rw-r--r--support/poster/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/support/poster/Makefile b/support/poster/Makefile
new file mode 100644
index 0000000000..004d79af09
--- /dev/null
+++ b/support/poster/Makefile
@@ -0,0 +1,21 @@
+poster: poster.c
+ gcc -O -o poster poster.c -lm
+
+# HPUX: cc -O -Aa -D_POSIX_SOURCE -o poster poster.c -lm
+# Note that this program might trigger a stupid bug in the HPUX C library,
+# causing the sscanf() call to produce a core dump.
+# For proper operation, DON'T give the `+ESlit' option to the HP cc,
+# or use gcc WITH the `-fwritable-strings' option.
+
+install: poster
+ strip poster
+ cp poster /usr/local/bin
+ cp poster.1 /usr/local/man/man1
+
+clean:
+ rm -f poster core poster.o getopt.o
+
+tar: README Makefile poster.c poster.1 manual.ps LICENSE
+ tar -cvf poster.tar README Makefile poster.c poster.1 manual.ps LICENSE
+ rm -f poster.tar.gz
+ gzip poster.tar