home *** CD-ROM | disk | FTP | other *** search
- #############################################################################
- #
- # Copyright (C) 1993 SciTech Software
- # All rights reserved.
- #
- # Descripton: Common definitions used by all SciTech Software makefiles.
- # This file includes definitions for cleaning the current
- # directory, and maintaining the source files with RCS.
- #
- # $Id: common.def 1.1 1994/03/06 07:48:03 kjb Exp $
- #
- #############################################################################
-
- # Explicit rule to build the pmode.obj file
-
- pmode.obj: $(PMODE_DIR)\pmode.c
- $(CC) $(CC_FLAGS) $(COMPILE_ONLY) $(PMODE_DIR)\pmode.c
-
- # Clean up directory removing all files not needed to make the library
-
- clean:
- @del *.obj *.sym *.bak *.tdk *.swp
- @del $(LIB_DEST)\*.bak
-
- cleanexe: clean
- @del *.exe *.drv
-
- realclean: cleanexe
- @del $(LIBFILE)
-
- # RCS Maintenance routines. Assumes the existence of the 'files.lst' file
- # to determine the files to apply the RCS commands to, and that the
- # foreach.exe program is available on the path.
-
- stamp:
- @foreach "rcs -N$(VERSION): -srelease" files.lst
-
- rcsclean:
- @foreach rcsclean files.lst
-
- # Check in the latest revisions of source files with RCS
-
- ci:
- @foreach "ci -q -u -mnone $(RCSOPT)" files.lst
-
- # Check out the latest revisions of source files from RCS
-
- co:
- @foreach "co -q $(RCSOPT)" files.lst
-
-