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
This commit is contained in:
grischka
2017-02-25 12:49:47 +01:00
parent 669f61117d
commit bb93064d78
10 changed files with 334 additions and 309 deletions

View File

@ -1,5 +1,4 @@
#include <stdlib.h>
#include <stdio.h>
#include <tcclib.h>
int fib(n)
{