comparison Makefile @ 14:153c09cc6dcb

misc: miscellaneous cleanups for 2021 - Removal of Doxygen, - Increase copyrights years, - Replace bool with ints.
author David Demelier <markand@malikania.fr>
date Wed, 03 Feb 2021 15:29:06 +0100
parents 5c917a8cd011
children b5bcb17b9115
comparison
equal deleted inserted replaced
13:5c917a8cd011 14:153c09cc6dcb
1 # 1 #
2 # Makefile -- basic Makefile for libunicode 2 # Makefile -- basic Makefile for libunicode
3 # 3 #
4 # Copyright (c) 2013-2020 David Demelier <markand@malikania.fr> 4 # Copyright (c) 2013-2021 David Demelier <markand@malikania.fr>
5 # 5 #
6 # Permission to use, copy, modify, and/or distribute this software for any 6 # Permission to use, copy, modify, and/or distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above 7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies. 8 # copyright notice and this permission notice appear in all copies.
9 # 9 #
44 44
45 test/unicode: unicode.c unicode.h test/unicode.c 45 test/unicode: unicode.c unicode.h test/unicode.c
46 ${CC} ${INCS} ${CFLAGS} -o test/unicode unicode.c test/unicode.c ${LDFLAGS} 46 ${CC} ${INCS} ${CFLAGS} -o test/unicode unicode.c test/unicode.c ${LDFLAGS}
47 47
48 test/unicode++: unicode.cpp unicode.hpp test/unicode++.cpp 48 test/unicode++: unicode.cpp unicode.hpp test/unicode++.cpp
49 ${CPP} ${INCS} ${CFLAGS} -o test/unicode++ unicode.cpp test/unicode++.cpp ${LDFLAGS} 49 ${CPP} ${INCS} ${CXXFLAGS} -o test/unicode++ unicode.cpp test/unicode++.cpp ${LDFLAGS}
50 50
51 tests: test/unicode test/unicode++ 51 tests: test/unicode test/unicode++
52 test/unicode 52 test/unicode
53 test/unicode++ 53 test/unicode++
54 54
55 doxygen:
56 doxygen Doxyfile
57
58 clean: 55 clean:
59 rm -f gen/src/mkunicode-c gen/src/mkunicode-cpp 56 rm -f gen/src/mkunicode-c gen/src/mkunicode-cpp
60 rm -f test/unicode test/unicode++ 57 rm -f test/unicode test/unicode++
61 58
62 .PHONY: all clean doxygen tests 59 .PHONY: all clean tests