Add install rules into Makefile. This will insatll MMDVMHost and RemoteCommand to /usr/local/bin/ path, so need exec with command 'sudo make install'.
This commit is contained in:
parent
e8c21493c1
commit
325b30d30b
4
Makefile
4
Makefile
|
@ -27,6 +27,10 @@ RemoteCommand: Log.o RemoteCommand.o UDPSocket.o
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -m 755 MMDVMHost /usr/local/bin/
|
||||||
|
install -m 755 RemoteCommand /usr/local/bin/
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) MMDVMHost RemoteCommand *.o *.d *.bak *~ GitVersion.h
|
$(RM) MMDVMHost RemoteCommand *.o *.d *.bak *~ GitVersion.h
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue