12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- #
- # makefile
- #
- # Based on Anthonys Editor January 93
- #
- # Public Domain 1991, 1993 by Anthony Howe. No warranty.
- # BSD 3-Clause 2023 by Kevin Bloom.
- #
- INSTALL_PATH = /usr/pkg/bin/
- MAN_PATH = /usr/pkg/man/man1/
- CC = cc
- CFLAGS = -O -Wall
- LD = cc
- LDFLAGS =
- CP = cp
- MV = mv
- RM = rm
- E =
- O = .o
- OBJ = command$(O) display$(O) gap$(O) key$(O) search$(O) buffer$(O) replace$(O) window$(O) complete$(O) hilite$(O) util$(O) shell$(O) main$(O)
- ait$(E) : $(OBJ)
- $(LD) $(LDFLAGS) -o ait$(E) $(OBJ) $(LIBS)
- command$(O): command.c
- $(CC) $(CFLAGS) -c command.c
- complete$(O): complete.c
- $(CC) $(CFLAGS) -c complete.c
- display$(O): display.c
- $(CC) $(CFLAGS) -c display.c
- gap$(O): gap.c
- $(CC) $(CFLAGS) -c gap.c
- key$(O): key.c
- $(CC) $(CFLAGS) -c key.c
- search$(O): search.c
- $(CC) $(CFLAGS) -c search.c
- replace$(O): replace.c
- $(CC) $(CFLAGS) -c replace.c
- window$(O): window.c
- $(CC) $(CFLAGS) -c window.c
- buffer$(O): buffer.c
- $(CC) $(CFLAGS) -c buffer.c
- hilite$(O): hilite.c
- $(CC) $(CFLAGS) -c hilite.c
- util$(O): util.c
- $(CC) $(CFLAGS) -c util.c
- shell$(O): shell.c
- $(CC) $(CFLAGS) -c shell.c
- main$(O): main.c
- $(CC) $(CFLAGS) -c main.c
- clean:
- -$(RM) $(OBJ) ait$(E)
- install:
- -$(CP) ait$(E) $(INSTALL_PATH)
- -$(CP) ait.1 $(MAN_PATH)
|