summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2021-01-31 19:00:34 +0100
committerRoland Reichwein <mail@reichwein.it>2021-01-31 19:00:34 +0100
commit611601ec36a5603bc9c94cdac9a307c4bb07c929 (patch)
tree0b1c27d5958a2a3bdfe3c421a27f6ab528fbc3e1 /Makefile
parent2ef9f51df48b14556e236d14213233e1bd7f829a (diff)
Add facet based interface
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
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