home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-12-28 | 2.4 KB | 83 lines |
- # simped - a simple, easy to use (line oriented) editor.
-
- # Copyright (C) 1990 Jay Konigsberg (uucp: jak@sactoh0)
- # (paper mail not available)
- #
- # This program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public Licence as published by
- # the Free Software Foundation; either version 1, or (at your option)
- # any later version.
-
- # This program is distrubited in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without evev the implied warranty of
- # MERCHANTABILITY or FITTNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
-
- # You should have recieved a copy of the GNU General Public Licence
- # along with this program; if not, write to the Free Software
- # Foundation Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- # While I am not directly connected with GNU, I hope the preceeding
- # says enough. (They did say I could copy it)
- # Jay
-
-
- #
- # 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
-
- FILES=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
-
- $(EXEC): $(FILES)
- $(CC) $(CFLAGS) $(FILES) -o $(EXEC)
-
- $(FILES):
-
- clean:
- rm -f $(FILES) core MANIFEST simped?.ar
-
- ship: tar
- compress simped.tar
- echo simped.tar.Z created
-
- tar: shar
- tar cvf simped.tar simped?.ar
- rm simped?.ar
-
-
- shar:
- sharsplit -l 24000 -m -r -o simped 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 \
- Makefile simped.doc one mod simped.h
- rm MANIFEST
-