home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / psh / Makefile next >
Makefile  |  1995-05-08  |  446b  |  26 lines

  1. # vi:tabstop=4:shiftwidth=4:smartindent
  2. #
  3. # Makefile for sh
  4. #
  5. # (C) 1994 Alun Jones
  6.  
  7. CC=        gcc
  8. CFLAGS=    -I/usr/local/include -O2 -Wall
  9. OBJS=    o.builtin o.chdir o.exec o.exit o.history o.osgetenv o.pwd \
  10.         o.read o.readlines o.psh o.help o.dbg o.autoconv o.source
  11.  
  12. all:    psh
  13.  
  14. install: all
  15.     squeeze psh
  16.     copy psh $$.bin.psh ~cf
  17.  
  18. psh:    $(OBJS)
  19.     $(CC) -o $@ $^ -L/usr/local/lib/ -lreadline
  20.  
  21. $(OBJS):        h.psh
  22. o.psh o.builtin:    h.builtins
  23.  
  24. clean:
  25.     rm $(OBJS)
  26.