small gcc introduction
This commit is contained in:
10
GCC Intro/makefile
Normal file
10
GCC Intro/makefile
Normal file
@@ -0,0 +1,10 @@
|
||||
all: hello.exe
|
||||
|
||||
hello.exe: hello.o
|
||||
gcc -o hello.exe hello.o
|
||||
|
||||
hello.o: hello.c
|
||||
gcc -c hello.c
|
||||
|
||||
clean:
|
||||
rm hello.o hello.exe
|
||||
Reference in New Issue
Block a user