feat: add handy makefile
This commit is contained in:
parent
b784df08ac
commit
d35b3206dc
1 changed files with 14 additions and 0 deletions
14
Makefile
Normal file
14
Makefile
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
CC ?= /usr/bin/gcc
|
||||||
|
|
||||||
|
sleepsh:
|
||||||
|
$(CC) -o sleepsh -O3 main.c
|
||||||
|
|
||||||
|
main.c: sleepsh
|
||||||
|
|
||||||
|
.PHONY: all build clean
|
||||||
|
|
||||||
|
all: sleepsh
|
||||||
|
build: sleepsh
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f sleepsh
|
Loading…
Add table
Reference in a new issue