summary refs log tree commit diff
path: root/Makefile
blob: a1a5d01d4af4928026f47cda1fd5faeb9e8ce961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
OBJS += cccl.o
OBJS += executor.o
OBJS += main.o
OBJS += parser.o
OBJS += readfile.o
OBJS += str.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