mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-27 06:10:06 +08:00
Make ex1.c and ex4.c be executable on any systems
Use /usr/bin/env to make ex1.c and ex4.c on any systems, wherever is installed tcc.
This commit is contained in:
parent
a03346c06e
commit
27a428cd0f
@ -1,4 +1,4 @@
|
||||
#! /usr/local/bin/tcc -run
|
||||
#!/usr/bin/env tcc -run
|
||||
#include <tcclib.h>
|
||||
|
||||
int main()
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!./tcc -run -L/usr/X11R6/lib -lX11
|
||||
#!/usr/bin/env tcc -run -L/usr/X11R6/lib -lX11
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <X11/Xlib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user