Optimize server build
This commit is contained in:
parent
826e1aefd5
commit
0d9424bf2b
@ -36,8 +36,8 @@
|
||||
git clone https://github.com/WiringPi/WiringPi.git
|
||||
cd WiringPi
|
||||
./build
|
||||
cd ~/Danger-alarm/SERVER/hc-12
|
||||
make clean; make
|
||||
cd ~/Danger-alarm/SERVER/libconf && make clean; make
|
||||
cd ~/Danger-alarm/SERVER/hc-12 && make clean; make
|
||||
./hc-12
|
||||
|
||||
```
|
||||
|
@ -17,5 +17,5 @@ hc-12: hc-12.o ../libconf/libconf.o mysql.o
|
||||
$(CC) $(CFLAGS) $(MYSQL_CFLAGS) -c $< $@
|
||||
|
||||
clean:
|
||||
rm hc-12 hc-12.o ../libconf/libconf.o mysql.o
|
||||
rm hc-12 *.o
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user