aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorgrischka <grischka>2017-02-25 12:49:47 +0100
committergrischka <grischka>2017-02-25 12:51:04 +0100
commitbb93064d7857d887b674999c9b4152b44a628f9a (patch)
tree5290a93161373fd5a286d9aaf32ebb8dea04f82c /examples
parent669f61117d6ff2255649e80a9708fe24e32d4a33 (diff)
downloadtinycc-bb93064d7857d887b674999c9b4152b44a628f9a.tar.gz
tinycc-bb93064d7857d887b674999c9b4152b44a628f9a.tar.bz2
makefile: unify cross with native builds
supports building cross compilers on the fly without need for configure --enable-cross $ make cross # all compilers $ make cross-TARGET # only TARGET-compiler & its libtcc1.a with TARGET one from i386 x86_64 i386-win32 x86_64-win32 arm arm64 arm-wince c67 Type 'make help' for more information
Diffstat (limited to 'examples')
-rw-r--r--examples/ex3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/ex3.c b/examples/ex3.c
index 7c466ad..5556a4b 100644
--- a/examples/ex3.c
+++ b/examples/ex3.c
@@ -1,5 +1,4 @@
-#include <stdlib.h>
-#include <stdio.h>
+#include <tcclib.h>
int fib(n)
{