mirror of
https://gitee.com/const-zpc/param.git
synced 2025-02-06 04:38:21 +08:00
22 lines
434 B
Makefile
22 lines
434 B
Makefile
CURR_DIR_PATH=$(shell pwd)
|
|
|
|
CURR_DIR_PATH="C:\Users\const\Desktop\param\param\Demo\cmd_shell"
|
|
|
|
GCC:=gcc
|
|
INC+=-I${CURR_DIR_PATH}/../../Param/inc
|
|
INC+=-I${CURR_DIR_PATH}/
|
|
|
|
SRC+=${CURR_DIR_PATH}/../../Param/src/param.c
|
|
SRC+=${CURR_DIR_PATH}/demo.c
|
|
SRC+=${CURR_DIR_PATH}/param_demo.c
|
|
|
|
|
|
AIM_NAME:=demo
|
|
|
|
.PHONY:all
|
|
all:
|
|
${GCC} ${INC} ${SRC} -o ${CURR_DIR_PATH}/${AIM_NAME} -std=c99
|
|
|
|
.PHONY:clean
|
|
clean:
|
|
rm -rf ${CURR_DIR_PATH}/${AIM_NAME}
|