home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-09-20 | 1.8 KB | 65 lines |
- # sccsid="%W% %G% %U%";
- #
- # Makefile.sccs
- #
- # PROGRAM(s) : sccs_admin, sccs_edit, sccs_get, sccs_delta, sccs_install
- # AUTHOR : W. Hatch
- # Coleman Research
- # 14504 Greenview Drive Suite 500
- # Laurel, Maryland 20708
- # (301)470-3839
- # uunet!bts!bill
- # DATE : 7/19/88
- # PROJECT : WEH Software
- #
- # This Makefile template assumes that the following shell scripts
- # are installed in one of the user's PATH directories
- #
- #--------------------------------------------------------------------------
-
- #--------------------------------------------------------------------------
- # 1. define symbolic constants
- #
- # root directory for this activity
- ROOT=/usr/local
- #
- # target directory for executables
- BIN=$(ROOT)/bin
- #
- # documentation target directory
- DOCINSTALL=$(ROOT)/doc
- #
- # list of shell script files maintained with this makefile
- SCRIPT= sccs_admin sccs_delta sccs_edit sccs_get sccs_install
- #
- # list of all junk files that might occur in this directory
- JUNK=core a.out JOURNAL LINT paste.txt error.log dbg_jnl*
-
-
- #--------------------------------------------------------------------------
- # 4. install all objects of this make
- #--------------------------------------------------------------------------
- install: $(SCRIPT) $(DOC)
- for i in $(SCRIPT); do \
- chmod ugo+x $$i; \
- cp $$i $(BIN); \
- done
- #cp $(DOC) $(DOCINSTALL)
-
- #--------------------------------------------------------------------------
- # 8. uninstall all installed targets of this make
- #--------------------------------------------------------------------------
- uninstall:
- for i in $(SCRIPT); do; \
- rm -f $(BIN)/$$i; \
- done
- #for i in $(DOC); do; \
- # rm -f $(DOCINSTALL)/$$i; \
- #done
-
- #--------------------------------------------------------------------------
- # 15. print all source
- #--------------------------------------------------------------------------
- print:
- pf $(SCRIPT) Makefile
-