home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-05-08 | 446 b | 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)
-