about summary refs log tree commit diff
path: root/Makefile
blob: d98e9bd67c07dec7180281e658a4b7e1df51a5f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
OBJS += cccl.o
OBJS += main.o
OBJS += parser.o
OBJS += readfile.o
OBJS += tokenizer.o

RM ?= rm -f


all: 3cl

${OBJS}: cccl.h

3cl: ${OBJS}
	${CC} ${LDFLAGS} -o 3cl ${OBJS} ${LDLIBS}

clean:
	${RM} ${OBJS} 3cl

README: README.7
	mandoc -Tascii README.7 | col -b > README