home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-05-10 | 709 b | 37 lines |
- # if using GNU C change to CC=gcc
- CC=cc
- # Makefile for sgopher
- VERSION=0.3
-
- # You may need to change the following
- # INSTDIR is the directory for installation
- # USERLIBS are extra libraries needed
- # (for solaris2.x -lsocket -lucb -lelf -lnsl)
- INSTDIR=/usr/local/bin
- #USERLIBS=-lsocket -lucb -lelf -lnsl
- USERLIBS=
-
- DISTRIB=README CHANGES THANKS INSTALL Makefile sgopher.c shar.c make.com \
- woll.opt conf.h
-
- sgopher: sgopher.c conf.h
- $(CC) -o sgopher sgopher.c $(USERLIBS)
- strip sgopher
-
- shar: shar.c
- $(CC) -o shar shar.c
-
- sh: shar
- shar $(DISTRIB) > sgopher$(VERSION).sh
-
- install:
- cp sgopher $(INSTDIR)
-
- clean:
- rm sgopher
-
- dist:
- tar cvf sgopher$(VERSION).tar $(DISTRIB)
- compress sgopher$(VERSION).tar
-
-