Hi all,
I have to create a batch file in unix that compiles and runs two *.c files.
Could someone please tell me either were to look or how to do this?
Thanks heaps
Hi all,
I have to create a batch file in unix that compiles and runs two *.c files.
Could someone please tell me either were to look or how to do this?
Thanks heaps
I didn't heard anything like batch file for unix / linux
if you want to compile two *.c files then better write your own Makefile
Code:gcc -g -c -Wall test1.c test2.c gcc -o test test1.o test2.o
Or what you can do write your own shell script
and just call
Code:make all
Not batch...shell scripting. Or you could use a makefile.