10 lines
165 B
Makefile
10 lines
165 B
Makefile
OUTPUT_DIR = ./bin
|
|
OUTPUT = -o $(OUTPUT_DIR)/PROG
|
|
SOURCES = *.c
|
|
|
|
build: output_dir
|
|
gcc -Wall ${SOURCES} ${OUTPUT:PROG=upgrade}
|
|
|
|
output_dir:
|
|
mkdir -p ${OUTPUT_DIR}
|