this repo has no description
at trunk 20 lines 344 B view raw
1CFLAGS=-Wall -Wextra -Wpedantic 2CXXFLAGS=$(CFLAGS) 3 4test: tests_c tests_cpp 5 ./tests_c 6 ./tests_cpp 7 8tests_c: fmt.h tests.c 9 $(CC) -std=c99 $(CFLAGS) tests.c -o tests_c 10 11tests_cpp: fmt.h tests.c 12 $(CXX) -std=c++98 $(CXXFLAGS) tests.c -o tests_cpp 13 14format: 15 clang-format -i fmt.h tests.c 16 17clean: 18 rm tests_c tests_cpp 19 20.PHONY: test format clean