14 lines
146 B
Makefile
14 lines
146 B
Makefile
|
BIN=bin
|
||
|
|
||
|
all: dirs command
|
||
|
|
||
|
command: command.c
|
||
|
gcc -o ${BIN}/command command.c
|
||
|
|
||
|
.PHONY: clean dirs
|
||
|
clean:
|
||
|
rm -rf ${BIN}
|
||
|
|
||
|
dirs:
|
||
|
mkdir -p ${BIN}
|