Skip to content

Commit 94848e8

Browse files
committed
changed amal build
1 parent c2cb04f commit 94848e8

File tree

8 files changed

+19
-13
lines changed

8 files changed

+19
-13
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ benchmark_talib: benchmark.c libindicators.a
5656
#This will build all of Tulip Indicators into one .c file.
5757
#This is recommended to be used with other bindings for ease of build.
5858
tiamalgamation.c: $(AMAL) indicators.ca indicators.h candles.ca candles.h
59-
echo -e "/*\n * TULIP INDICATORS AMALGAMATION\n * This is all of Tulip Indicators in one file.\n * To get the original sources, go to https://tulipindicators.org\n */\n\n" \
60-
| cat - indicators.h candles.h utils/buffer.h utils/localbuffer.h utils/minmax.h $(AMAL) indicators.ca candles.ca > $@
59+
cat templates/amal.txt indicators.h candles.h utils/buffer.h utils/localbuffer.h utils/minmax.h $(AMAL) indicators.ca candles.ca > $@
6160

6261

6362
$(OBJS): indicators.h candles.h

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ and the header file `indicators.h` to use Tulip Indicators in your code.
4141

4242
If you don't want to build the library, you can simply add the
4343
`tiamalgamation.c` file to your project, along with `indicators.h` and
44-
candles.h`. The amalgamation file contains all of Tulip Indicators - you don't
44+
`candles.h`. The amalgamation file contains all of Tulip Indicators - you don't
4545
actually need any of the other source files.
4646

4747
This is the recommended method to import Tulip Indicators into code for

candles.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/*
2828
*
2929
* Version 0.9.1
30-
* Header Build 1642468960
30+
* Header Build 1642469817
3131
*
3232
*/
3333

candles.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
/*
3131
*
3232
* Version 0.9.1
33-
* Header Build 1642468960
33+
* Header Build 1642469817
3434
*
3535
*/
3636

@@ -44,7 +44,7 @@
4444

4545

4646
#define TC_VERSION "0.9.1"
47-
#define TC_BUILD 1642468960
47+
#define TC_BUILD 1642469817
4848

4949

5050

indicators.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/*
2828
*
2929
* Version 0.9.1
30-
* Header Build 1642468960
30+
* Header Build 1642469817
3131
*
3232
*/
3333

indicators.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
/*
3131
*
3232
* Version 0.9.1
33-
* Header Build 1642468960
33+
* Header Build 1642469817
3434
*
3535
*/
3636

@@ -44,7 +44,7 @@
4444

4545

4646
#define TI_VERSION "0.9.1"
47-
#define TI_BUILD 1642468960
47+
#define TI_BUILD 1642469817
4848

4949

5050

templates/amal.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* TULIP INDICATORS AMALGAMATION
3+
* This is all of Tulip Indicators in one file.
4+
* To get the original sources, go to https://tulipindicators.org
5+
*/
6+
7+

tiamalgamation.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
/*
3838
*
3939
* Version 0.9.1
40-
* Header Build 1642468960
40+
* Header Build 1642469817
4141
*
4242
*/
4343

@@ -51,7 +51,7 @@
5151

5252

5353
#define TI_VERSION "0.9.1"
54-
#define TI_BUILD 1642468960
54+
#define TI_BUILD 1642469817
5555

5656

5757

@@ -1146,7 +1146,7 @@ int ti_zlema(int size, TI_REAL const *const *inputs, TI_REAL const *options, TI_
11461146
/*
11471147
*
11481148
* Version 0.9.1
1149-
* Header Build 1642468960
1149+
* Header Build 1642469817
11501150
*
11511151
*/
11521152

@@ -1160,7 +1160,7 @@ int ti_zlema(int size, TI_REAL const *const *inputs, TI_REAL const *options, TI_
11601160

11611161

11621162
#define TC_VERSION "0.9.1"
1163-
#define TC_BUILD 1642468960
1163+
#define TC_BUILD 1642469817
11641164

11651165

11661166

0 commit comments

Comments
 (0)