From 611601ec36a5603bc9c94cdac9a307c4bb07c929 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 31 Jan 2021 19:00:34 +0100 Subject: Add facet based interface --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b66c17e..5d64631 100644 --- a/Makefile +++ b/Makefile @@ -60,9 +60,10 @@ endif SRC=\ src/recode.cpp \ + src/validate.cpp \ src/test-unicode.cpp -all: src/recode src/test-unicode +all: src/recode src/test-unicode src/validate test: src/test-unicode src/test-unicode @@ -70,6 +71,9 @@ test: src/test-unicode src/recode: src/recode.o dep $(CXX) $(LDFLAGS) $< $(LDLIBS) $(LIBS) -o $@ +src/validate: src/validate.o dep + $(CXX) $(LDFLAGS) $< $(LDLIBS) $(LIBS) -o $@ + src/test-unicode: src/test-unicode.o dep $(CXX) $(LDFLAGS) $< $(LDLIBS) $(LIBS) -o $@ @@ -82,7 +86,7 @@ dep: $(SRC:.cpp=.d) $(CXX) $(CXXFLAGS) -c $< -o $@ clean: - -rm -f src/recode src/test-unicode + -rm -f src/recode src/test-unicode src/validate -rm -rf result -find . -name '*.o' -o -name '*.d' -o -name '*.gcno' -o -name '*.gcda' | xargs rm -f -- cgit v1.2.3