teco

Check-in [84d4a427fb]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Move to single Makefile
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:84d4a427fbd49ec75101a1668fd3e32b534929897ad9b4f9395f66b728c00543
User & Date: ajv-899-334-8894@vsta.org 2013-12-22 19:57:40
Context
2013-12-22
20:02
typo check-in: 9eb673b74e user: ajv-899-334-8894@vsta.org tags: master, trunk
19:57
Move to single Makefile check-in: 84d4a427fb user: ajv-899-334-8894@vsta.org tags: master, trunk
19:54
Protect against stale tecorc generation check-in: 20e7dd6a97 user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.













1
2
3
4
5
6
7












# CC=clang
CC=gcc
OBJS=chario.o data.o exec0.o exec1.o \
	exec2.o main.o rdcmd.o srch.o subs.o \
	utils.o window.o undo.o
CFLAGS=-DDEBUG -g -Wall -Werror
LIBS=-ltermcap
>
>
>
>
>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
all: te lib/tecorc

#
# Generated .tecorc prototype
#
MACROS=lib/block.tec lib/emacs.tec lib/fill.tec lib/repl.tec lib/book.tec
lib/tecorc: lib/tecorc.head $(MACROS) lib/tecorc.tail
	cat lib/tecorc.head $(MACROS) lib/tecorc.tail > lib/tecorc

#
# teco executable
#
# CC=clang
CC=gcc
OBJS=chario.o data.o exec0.o exec1.o \
	exec2.o main.o rdcmd.o srch.o subs.o \
	utils.o window.o undo.o
CFLAGS=-DDEBUG -g -Wall -Werror
LIBS=-ltermcap

Deleted lib/Makefile.

1
2
3
4
5
6
7
8
9
MACROS=block.tec emacs.tec fill.tec repl.tec book.tec

tecorc: tecorc.head $(MACROS) tecorc.tail
	cat tecorc.head $(MACROS) tecorc.tail > tecorc

clean:

clobber: clean
	rm -f tecorc
<
<
<
<
<
<
<
<
<