home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
z
/
zsh220.zip
/
zsh2.2
/
src
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-05-11
|
921b
|
46 lines
#! /bin/make -f
# Makefile for zsh
# generated by buildzsh
OBJS=builtin.o cond.o exec.o glob.o hist.o init.o jobs.o lex.o loop.o \
math.o mem.o params.o parse.o subst.o table.o text.o utils.o watch.o \
zle_bindings.o zle_hist.o zle_main.o zle_misc.o zle_move.o zle_refresh.o \
zle_tricky.o zle_utils.o zle_vi.o zle_word.o
BINDIR=/usr/local/bin
MANDIR=/usr/local/man/man1
# debugging flags
#CFLAGS=-g -Wreturn-type -Wunused -Wpointer-arith -DQDEBUG
#CC=gcc -traditional
CC=cc
CFLAGS= -O
LIBS= -ltermcap
ZSHPATH=zsh
.c.o:
$(CC) $(CFLAGS) -c $<
all: $(ZSHPATH)
$(ZSHPATH): $(OBJS)
$(CC) -o $(ZSHPATH) $(OBJS) $(LIBS) $(LFLAGS)
tags: /tmp
ctags *.[cy]
# I hate this next line
$(OBJS): config.h zsh.h zle.h signals.h ztype.h funcs.h
clean:
rm -f *.o zsh core
cleanall:
rm -f *.o zsh core Makefile signals.h config.h
install: zsh
install -s -m 755 zsh $(BINDIR)
install -m 444 ../man/man1/zsh.1 $(MANDIR)