From e4966b859ee26adbd25172e1e2e7d266feb6d36c Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 21 Feb 2009 19:05:28 +0000 Subject: Split down term.c into term.h, termact.c. --- Makefile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 644d3421..47624ee7 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g LIBLNS = macro.ln mdoc.ln hash.ln strings.ln xstd.ln argv.ln \ validate.ln action.ln -BINLNS = mdocml.ln term.ln tree.ln +BINLNS = mdocml.ln term.ln tree.ln termact.ln LNS = $(LIBLNS) $(BINLNS) @@ -16,14 +16,14 @@ LIBS = libmdoc.a LIBOBJS = macro.o mdoc.o hash.o strings.o xstd.o argv.o \ validate.o action.o -BINOBJS = mdocml.o term.o tree.o +BINOBJS = mdocml.o term.o tree.o termact.o OBJS = $(LIBOBJS) $(BINOBJS) SRCS = macro.c mdoc.c mdocml.c hash.c strings.c xstd.c argv.c \ - validate.c action.c + validate.c action.c term.c tree.c termact.c -HEADS = mdoc.h private.h +HEADS = mdoc.h private.h term.h MANS = mdocml.1 mdoc.3 @@ -136,9 +136,13 @@ tree.ln: tree.c mdoc.h tree.o: tree.c mdoc.h -term.ln: term.c private.h +term.ln: term.c term.h -term.o: term.c private.h +term.o: term.c term.h + +termact.ln: termact.c term.h + +termact.o: termact.c term.h strings.ln: strings.c private.h @@ -206,5 +210,5 @@ libmdoc.a: $(LIBOBJS) $(AR) rs $@ $(LIBOBJS) mdocml: $(BINOBJS) libmdoc.a - $(CC) $(CFLAGS) -o $@ $(BINOBJS) libmdoc.a -lcurses + $(CC) $(CFLAGS) -o $@ $(BINOBJS) libmdoc.a -- cgit v1.2.3-56-ge451