13 lines
237 B
Makefile
13 lines
237 B
Makefile
CFLAGS = -O2 -Werror -Wall -Wextra -pedantic -std=c99
|
|
|
|
test: test_wcwidth
|
|
@./test_wcwidth
|
|
|
|
test_wcwidth: test_wcwidth.c wcwidth.c wcwidth.h
|
|
$(CC) $(CFLAGS) -o $@ test_wcwidth.c wcwidth.c
|
|
|
|
clean:
|
|
rm -f test_wcwidth
|
|
|
|
.PHONY: clean test
|