2012-01-12 03:46:16 +01:00
|
|
|
# Makefile for GNU make
|
|
|
|
|
|
|
|
ifndef CXX
|
2013-10-16 01:53:57 +02:00
|
|
|
CXX = clang++
|
2012-01-12 03:46:16 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef CXXFLAGS
|
2013-10-16 01:53:57 +02:00
|
|
|
CXXFLAGS = -Wall -O2 -I/usr/local/include
|
2012-01-12 03:46:16 +01:00
|
|
|
endif
|
|
|
|
|
2012-07-01 01:22:31 +02:00
|
|
|
ifndef LDFLAGS
|
|
|
|
LDFLAGS = -L/usr/local/lib
|
|
|
|
endif
|
|
|
|
|
2014-11-12 05:11:28 +01:00
|
|
|
ifndef AR
|
|
|
|
AR = ar
|
|
|
|
endif
|
|
|
|
|
2017-06-27 18:51:55 +02:00
|
|
|
#CXX=g++5
|
|
|
|
#CXXFLAGS=-Wall -O0 -g3 -gdwarf-2 -std=c++14
|
2016-02-08 19:00:17 +01:00
|
|
|
|
2012-01-12 03:46:16 +01:00
|
|
|
export CXX
|
|
|
|
export CXXFLAGS
|
2012-07-01 01:22:31 +02:00
|
|
|
export LDFLAGS
|
2014-11-12 05:11:28 +01:00
|
|
|
export AR
|
2012-01-12 03:46:16 +01:00
|
|
|
|
|
|
|
|
2018-11-23 18:07:52 +01:00
|
|
|
all: space mainparser mainspaceparser utf8 date convert log
|
2012-05-05 17:08:04 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-12 03:46:16 +01:00
|
|
|
|
2012-04-30 15:10:55 +02:00
|
|
|
space: FORCE
|
|
|
|
@cd space ; $(MAKE) -e
|
2012-01-12 03:46:16 +01:00
|
|
|
|
|
|
|
mainparser: FORCE
|
|
|
|
@cd mainparser ; $(MAKE) -e
|
|
|
|
|
2016-01-21 19:49:42 +01:00
|
|
|
mainspaceparser: FORCE
|
|
|
|
@cd mainspaceparser ; $(MAKE) -e
|
|
|
|
|
2012-01-12 03:46:16 +01:00
|
|
|
utf8: FORCE
|
|
|
|
@cd utf8 ; $(MAKE) -e
|
|
|
|
|
2012-05-05 17:08:04 +02:00
|
|
|
date: FORCE
|
|
|
|
@cd date ; $(MAKE) -e
|
|
|
|
|
added: functions for dealing with white characters:
bool IsWhite(wchar_t c, bool check_additional_chars, bool treat_new_line_as_white) (checking unicode white characters too)
CharType * SkipWhite(CharType * str, bool check_additional_chars = true, bool treat_new_line_as_white = true)
IsDigit(wchar_t c, int base, int * digit)
added: functions to converting from a string to an integer:
unsigned long long Toull(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
long long Toll(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
unsigned long Toul(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
unsigned int Toui(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
long Tol(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
int Toi(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
changed: some work in Space (new Api)
now Text() methods returns std::wstring by value (before they were returned by reference)
added std::wstring & TextRef() methods
added unsigned int UInt(), unsigned long ULong() and LongLong() and ULongLong()
GetValue() renamed to GetFirstValue()
AText() renamed to TextA() and they return std::string by value now
git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@1066 e52654a7-88a9-db11-a3e9-0013d4bc506e
2017-12-05 17:32:21 +01:00
|
|
|
convert: FORCE
|
|
|
|
@cd convert ; $(MAKE) -e
|
|
|
|
|
2018-11-23 18:07:52 +01:00
|
|
|
log: FORCE
|
|
|
|
@cd log ; $(MAKE) -e
|
2012-05-05 17:08:04 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-12 03:46:16 +01:00
|
|
|
|
|
|
|
FORCE:
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2012-04-30 15:10:55 +02:00
|
|
|
@cd space ; $(MAKE) -e clean
|
2012-01-12 03:46:16 +01:00
|
|
|
@cd mainparser ; $(MAKE) -e clean
|
2016-01-21 19:49:42 +01:00
|
|
|
@cd mainspaceparser ; $(MAKE) -e clean
|
2012-01-12 03:46:16 +01:00
|
|
|
@cd utf8 ; $(MAKE) -e clean
|
2012-05-05 17:08:04 +02:00
|
|
|
@cd date ; $(MAKE) -e clean
|
added: functions for dealing with white characters:
bool IsWhite(wchar_t c, bool check_additional_chars, bool treat_new_line_as_white) (checking unicode white characters too)
CharType * SkipWhite(CharType * str, bool check_additional_chars = true, bool treat_new_line_as_white = true)
IsDigit(wchar_t c, int base, int * digit)
added: functions to converting from a string to an integer:
unsigned long long Toull(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
long long Toll(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
unsigned long Toul(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
unsigned int Toui(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
long Tol(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
int Toi(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
changed: some work in Space (new Api)
now Text() methods returns std::wstring by value (before they were returned by reference)
added std::wstring & TextRef() methods
added unsigned int UInt(), unsigned long ULong() and LongLong() and ULongLong()
GetValue() renamed to GetFirstValue()
AText() renamed to TextA() and they return std::string by value now
git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@1066 e52654a7-88a9-db11-a3e9-0013d4bc506e
2017-12-05 17:32:21 +01:00
|
|
|
@cd convert ; $(MAKE) -e clean
|
2018-11-23 18:07:52 +01:00
|
|
|
@cd log ; $(MAKE) -e clean
|
2012-01-12 03:46:16 +01:00
|
|
|
|
|
|
|
depend:
|
2012-04-30 15:10:55 +02:00
|
|
|
@cd space ; $(MAKE) -e depend
|
2012-01-12 03:46:16 +01:00
|
|
|
@cd mainparser ; $(MAKE) -e depend
|
2016-01-21 19:49:42 +01:00
|
|
|
@cd mainspaceparser ; $(MAKE) -e depend
|
2012-01-12 03:46:16 +01:00
|
|
|
@cd utf8 ; $(MAKE) -e depend
|
2012-05-05 17:08:04 +02:00
|
|
|
@cd date ; $(MAKE) -e depend
|
added: functions for dealing with white characters:
bool IsWhite(wchar_t c, bool check_additional_chars, bool treat_new_line_as_white) (checking unicode white characters too)
CharType * SkipWhite(CharType * str, bool check_additional_chars = true, bool treat_new_line_as_white = true)
IsDigit(wchar_t c, int base, int * digit)
added: functions to converting from a string to an integer:
unsigned long long Toull(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
long long Toll(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
unsigned long Toul(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
unsigned int Toui(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
long Tol(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
int Toi(const CharType * str, int base = 10, const CharType ** after_str = 0, bool * was_overflow = 0)
changed: some work in Space (new Api)
now Text() methods returns std::wstring by value (before they were returned by reference)
added std::wstring & TextRef() methods
added unsigned int UInt(), unsigned long ULong() and LongLong() and ULongLong()
GetValue() renamed to GetFirstValue()
AText() renamed to TextA() and they return std::string by value now
git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@1066 e52654a7-88a9-db11-a3e9-0013d4bc506e
2017-12-05 17:32:21 +01:00
|
|
|
@cd convert ; $(MAKE) -e depend
|
2018-11-23 18:07:52 +01:00
|
|
|
@cd log ; $(MAKE) -e depend
|