You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
274 B
Makefile
20 lines
274 B
Makefile
5 years ago
|
.PHONEY: build object_code optimal assembly preprocess clean
|
||
|
|
||
|
build:
|
||
|
gcc hello.c -o hello
|
||
|
|
||
|
object_code:
|
||
|
gcc hello.c -c
|
||
|
|
||
|
optimal:
|
||
|
gcc hello.c -O1 -o hello_optimal
|
||
|
|
||
|
assembly:
|
||
|
gcc hello.c -S
|
||
|
|
||
|
preprocess:
|
||
|
gcc hello.c -E
|
||
|
|
||
|
clean:
|
||
|
rm -rf hello hello_optimal hello.o hello.s
|