diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/schemeweb2/Makefile |
Initial commit
Diffstat (limited to 'web/schemeweb2/Makefile')
-rw-r--r-- | web/schemeweb2/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/web/schemeweb2/Makefile b/web/schemeweb2/Makefile new file mode 100644 index 0000000000..b179ad706c --- /dev/null +++ b/web/schemeweb2/Makefile @@ -0,0 +1,42 @@ +# SchemeWEB Makefile +# $Id: Makefile,v 2.0 1994/02/25 13:50:51 ramsdell Exp $ + +CC=gcc +CFLAGS = -O -ansi +srcdir = . +VPATH = . +INSTALL = cp +INSTALL_PROGRAM = $(INSTALL) +INSTALL_DATA = $(INSTALL) + +prefix = $(HOME) +exec_prefix = $(prefix) +bindir = $(exec_prefix)/bin +mandir = $(prefix)/man +manext = 1 + +SHELL=/bin/sh +DISTFILES=Makefile README sweb.c sweb.1 reader.sw + +all: sweb + +sweb: sweb.c + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(srcdir)/sweb.c + +install: sweb sweb.1 + $(INSTALL_PROGRAM) sweb $(bindir)/sweb + $(INSTALL_DATA) sweb.1 $(mandir)/man$(manext)/sweb.$(manext) + +uninstall: + rm $(bindir)/sweb + rm $(mandir)/man$(manext)/sweb.$(manext) + +dist: schemeweb.sh + +schemeweb.sh: $(DISTFILES) + shar $(DISTFILES) > $@ + +clean: + -rm sweb + +.PHONY: all install uninstall dist clean |