home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-12-28 | 2.0 KB | 67 lines |
- # simped - a simple, easy to use (line oriented) editor.
- #
- # Copyright (C) 1990 by Jay Konigsberg: (uucp: jak@sactoh0)
- # (paper mail not available)
- #
- # Permission to use, copy, modify, and distribute this software and its
- # documentation is hereby granted, provided that the above copyright
- # notice appear in all copies and that both the copyright notice and
- # this permission notice appear in supporting documentation. This software
- # is provided "as is" without express or implied warranty. However, the
- # author retains all Copyright priviliges and rights to renumeration if
- # this software is sold.
-
- #
- # LINELEN - The length of a line across the screen. This value must be
- # at least 5 characters less than the screen width to allow
- # for the line number prompt at the left. 6 in better.
- LINELEN=74
-
- #
- # PAUSE - This is the number of lines that will be listed upon
- # entering the editor with an existing file, or when
- # the L)ist command is used. The H)elp command suggests
- # it will be "about a half a screen".
- PAUSE=15
-
- #
- # BELL - Choose the bell character for your system, ascii is default.
- #
- BELL=\007
-
- #
- # Complier - choose your C complier. gcc -O -traditional is preferred
-
- CC=cc -O
- #CC=gcc -O -traditional
- #CC=gcc -O -Wall -Wshadow -Wpointer-arith
- #CC=cc -g
-
- CFLAGS=-DLINELEN=$(LINELEN) -DPAUSE=$(PAUSE) -DBELL=$(BELL)
-
- #EXEC=a.out
- EXEC=simped
-
- OBJS=main.o cleanup.o getline.o listtext.o allocate.o commands.o\
- addlines.o deleteline.o getlinenum.o savefile.o editline.o position.o\
- modify.o help.o options.o
-
- FILES=main.c cleanup.c getline.c listtext.c allocate.c commands.c\
- addlines.c deleteline.c getlinenum.c savefile.c editline.c position.c\
- modify.c help.c options.c
-
- $(EXEC): $(OBJS)
- $(CC) $(CFLAGS) $(OBJS) -o $(EXEC)
-
- $(OBJS):
-
- clean:
- rm -f $(OBJS) core MANIFEST simped?.ar
-
- ship: tar
- compress simped.tar
- echo simped.tar.Z created
-
- tar:
- tar cvf simped.tar $(FILES) Makefile simped.doc one mod simped.h
-