home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
os
/
psh_1
/
psh
/
Makefile
next >
Wrap
Makefile
|
1995-05-08
|
446b
|
26 lines
# vi:tabstop=4:shiftwidth=4:smartindent
#
# Makefile for sh
#
# (C) 1994 Alun Jones
CC= gcc
CFLAGS= -I/usr/local/include -O2 -Wall
OBJS= o.builtin o.chdir o.exec o.exit o.history o.osgetenv o.pwd \
o.read o.readlines o.psh o.help o.dbg o.autoconv o.source
all: psh
install: all
squeeze psh
copy psh $$.bin.psh ~cf
psh: $(OBJS)
$(CC) -o $@ $^ -L/usr/local/lib/ -lreadline
$(OBJS): h.psh
o.psh o.builtin: h.builtins
clean:
rm $(OBJS)