home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------#
- # File: Makefile. #
- # Author: George A. Theall #
- # Project: TifaWARE CC, for processing carriage controls. #
- # Notes: Works with NDMake, v4.51. #
- # Updated: 02-Aug-90, GAT #
- #---------------------------------------------------------------------#
-
-
- #-------------------------------#
- # Suffixes for default rules. #
- #-------------------------------#
- .SUFFIXES: .obj .c
-
- #------------------#
- # Useful macros. #
- #------------------#
- CC = TCC
- CFLAGS = -d -f- -k- -N- -y- -G- -O -Z -w -mt
- VPATH = .;.. # getopt.c is in parent dir
-
- OBJS = cc.obj getopt.obj
-
- #------------------#
- # Default rules. #
- #------------------#
- .c.obj:
- $(CC) $(CFLAGS) -c -v $<
-
- #---------------------------#
- # Principal dependencies. #
- #---------------------------#
- all: cc.com
-
- clean:
- rm -f *.bak *.map *.lst
-
- install: cc.com
- copy cc.com c:\usr\bin
-
- $(OBJS): getopt.h
-
- cc.com: $(OBJS)
- $(CC) -mt -M -lv $(OBJS)
- TDSTRIP -c -s $*
-