3 # CFLAGS : options for the C-compiler
4 CFLAGS
= -O
-D_MINIX
-D_POSIX_SOURCE
-wa
7 # LDFLAGS : flags for the loader
8 # -i for a PDP-11 with separate I/D (not necessary)
11 # BINDIR : where the binary will go when you type "make install"
14 # LIBRARIES : -ltermcap or -ltermlib,
15 # -lPW on USG systems (System III, System V),
16 # -ljobs on Berkeley Unix system (4.1, 2.8?, 2.9)
71 $(CC
) $(LDFLAGS
) -o yap
$(OFILES
) $(LIBRARIES
)
74 install: $(BINDIR
)/yap
$(BINDIR
)/more
77 install -cs
-o bin yap
$@
79 $(BINDIR
)/more
: $(BINDIR
)/yap
83 rm -f yap
$(OFILES
) a.out core
*.bak
86 pr Makefile
$(HFILES
) $(CFILES
)
89 lint
$(DEFINES
) $(CFILES
)
91 #AUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTO
97 commands.o
: commands.h
100 commands.o
: getline.h
104 commands.o
: machine.h
106 commands.o
: options.h
108 commands.o
: pattern.h
109 commands.o
: process.h
123 getcomm.o
: commands.h
183 process.o
: commands.h