blob: 6228a0182b8ce5e73b99dac6ae05b5c2cdc55e09 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
CC = gcc -Wall -Wextra -pedantic -Wno-unused-function
.SUFFIXES: .c .l
.PHONY: clean
BINS = lineno nothing wc justprint identifiers
all: $(BINS)
.l.c:
lex -f -o $@ $<
clean:
rm -f *.c *.o $(BINS)
|