summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
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