Add a demo.bat file to the examples directory on Windows
[tinycc.git] / win32 / examples / demo.bat
blob3be48ae73c6bf03049523dfdfbc6296494f51f67
1 @echo off
3 @rem Compute 10th Fibonacci number
4 tcc fib.c
5 fib 10
6 del fib.exe
8 @rem hello_win.c
9 tcc hello_win.c
10 hello_win
11 del hello_win.exe
13 @rem 'Hello DLL' example
14 tcc -shared dll.c
15 tcc hello_dll.c dll.def
16 hello_dll
17 del hello_dll.exe dll.def dll.dll
19 @rem a console threaded program
20 tcc taxi_simulator.c
21 taxi_simulator
22 del taxi_simulator.exe