diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:34:41 -0700 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:34:41 -0700 |
| commit | 874d317334fae1ddce316f9b6f4d0ce4e434bf52 (patch) | |
| tree | 929f924d3c3696d3aa9917aca0e7048bbe3e93e8 /libterm/Makefile | |
| parent | 15bd7946cc838a3151c357e4b0bc1ab85eecda62 (diff) | |
heirloom vi fixes from arch AUR
Diffstat (limited to 'libterm/Makefile')
| -rw-r--r-- | libterm/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/libterm/Makefile b/libterm/Makefile index b3432b1..c2ab882 100644 --- a/libterm/Makefile +++ b/libterm/Makefile @@ -41,21 +41,23 @@ # # Sccsid @(#)Makefile 1.2 (gritter) 2/4/02 # + +LIB = libtermlib.a DEFS = -DCM_N -DCM_GT -DCM_B -DCM_D -# COPT comes from ex. -CFLAGS = $(DEFS) $(COPT) SRCS = termcap.c tgoto.c tputs.c -OBJS = termcap.o tgoto.o tputs.o +OBJS = $(SRCS:.c=.o) -.c.o: ; $(CC) $(CFLAGS) -c $< +.c.o: + # COPT comes from ex + $(CC) $(CFLAGS) $(DEFS) $(COPT) -c $< -all: libtermlib.a +all: $(LIB) -libtermlib.a: $(OBJS) - ar cr libtermlib.a $(OBJS) +$(LIB): $(OBJS) + $(AR) crs $@ $(OBJS) clean: - rm -f libtermlib.a $(OBJS) core + rm -f $(LIB) $(OBJS) core # DO NOT DELETE |
