home *** CD-ROM | disk | FTP | other *** search
Makefile | 1987-09-27 | 891 b | 40 lines |
- #
- # makefile for watcher
- #
- # SYS should be either BSD or SYSV
- SYS = BSD
-
- OBJS = baderr.o check_item.o checkline.o do_args.o doit.o externs.o\
- find_of.o find_pre_cmd.o find_pre_val.o get_col_fld.o\
- get_rel_fld.o getargv.o init.o init_sigs.o line_to_vec.o main.o\
- open_cf.o open_hf.o pp.o pp_change.o pp_out.o read_hist.o\
- save_key.o y.tab.o yyerror.o yylex.o
- CFLAGS = -O -D$(SYS)
-
- DIST = Makefile Docs Support Ideas
-
- watcher: $(OBJS)
- cc $(CFLAGS) -o watcher $(OBJS)
-
- clean:
- rm -f a.out core watcher *.o y.tab.c y.tab.h y.output Make.out
-
- lint:
- lint -x *.c > Lint.out
-
- shar:
- shar README *.c *.h *.y $(DIST) > Watcher.shar
-
- # Two shar files are made because one is too large for the mailers with
- # a 64K limit.
- dist:
- shar README *.c > Watcher.shar1
- shar *.h *.y $(DIST) > Watcher.shar2
-
- y.tab.c y.tab.h: control.y
- yacc -d control.y
-
- y.tab.o: y.tab.c
- yylex.o: y.tab.h
- $(OBJS): defs.h
-