guowenxue
2018-10-14 f72b50b8cae06a852dac56f4601dead94e58d9e7
update sht20 and ds18b20 makefile
1 files modified
1 files added
13 ■■■■■ changed files
program/modules/ds18b20/makefile 2 ●●● patch | view | raw | blame | history
program/modules/sht20/makefile 11 ●●●●● patch | view | raw | blame | history
program/modules/ds18b20/makefile
@@ -2,7 +2,7 @@
BIN_NAME=ds18b20
all: 
    gcc ds18b20.c -o ${BIN_NAME}
    gcc ${BIN_NAME}.c -o ${BIN_NAME}
clean: 
    rm -f ${BIN_NAME}
program/modules/sht20/makefile
New file
@@ -0,0 +1,11 @@
INST_PATH=/usr/bin
BIN_NAME=sht20
all:
    gcc ${BIN_NAME}.c -o ${BIN_NAME}
clean:
    rm -f ${BIN_NAME}
install:
    @cp ${BIN_NAME} ${INST_PATH}