mirror of
https://github.com/devproje/devproje.git
synced 2025-04-22 11:49:52 +09:00
feat: makefile
This commit is contained in:
parent
a6c5d971e6
commit
15a6a986fd
1 changed files with 12 additions and 0 deletions
12
Makefile
Normal file
12
Makefile
Normal file
|
@ -0,0 +1,12 @@
|
|||
cc = gcc
|
||||
obj = main.o
|
||||
target = profile.out
|
||||
|
||||
$(target): $(obj)
|
||||
$(cc) -o $(target) $(obj)
|
||||
|
||||
main.o: main.c
|
||||
$(cc) -c -o main.o main.c
|
||||
|
||||
clear:
|
||||
rm $(obj) $(target)
|
Loading…
Reference in a new issue