wip
This commit is contained in:
8
Makefile
8
Makefile
@@ -6,13 +6,13 @@ OUTPUT_BIN = ${OUTPUT_DIR}/PROG
|
||||
OUTPUT = -o ${OUTPUT_BIN}
|
||||
|
||||
build: output_dir
|
||||
gcc -Wall -std=gnu99 ${RELEASE_ARGS} ${SOURCES} ${LIBRARIES} ${OUTPUT:PROG=mash}
|
||||
gcc -Wall -std=gnu99 ${RELEASE_ARGS} ${SOURCES} ${OUTPUT:PROG=mash} ${LIBRARIES}
|
||||
|
||||
debug: output_dir
|
||||
gcc -Wall -std=gnu99 -g ${SOURCES} ${LIBRARIES} ${OUTPUT:PROG=mash}
|
||||
gcc -Wall -std=gnu99 -g ${SOURCES} ${OUTPUT:PROG=mash} ${LIBRARIES}
|
||||
|
||||
output_dir:
|
||||
mkdir -p ${OUTPUT_DIR}
|
||||
|
||||
install: build
|
||||
mv ${OUTPUT:PROG=mash} /usr/sbin/mash
|
||||
install:
|
||||
mv ${OUTPUT_BIN:PROG=mash} /usr/sbin/mash
|
||||
|
||||
Reference in New Issue
Block a user