Skip to content

Commit 1dc91b9

Browse files
committed
Add the install target to the other makefiles.
1 parent c174c10 commit 1dc91b9

6 files changed

+20
-39
lines changed

Makefile.Pi

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ RemoteCommand: Log.o RemoteCommand.o UDPSocket.o
2727
%.o: %.cpp
2828
$(CXX) $(CFLAGS) -c -o $@ $<
2929

30+
install:
31+
install -m 755 MMDVMHost /usr/local/bin/
32+
install -m 755 RemoteCommand /usr/local/bin/
33+
3034
clean:
3135
$(RM) MMDVMHost RemoteCommand *.o *.d *.bak *~ GitVersion.h
3236

Makefile.Pi.Adafruit

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ RemoteCommand: Log.o RemoteCommand.o UDPSocket.o
2828
%.o: %.cpp
2929
$(CXX) $(CFLAGS) -c -o $@ $<
3030

31+
install:
32+
install -m 755 MMDVMHost /usr/local/bin/
33+
install -m 755 RemoteCommand /usr/local/bin/
34+
3135
clean:
3236
$(RM) MMDVMHost RemoteCommand *.o *.d *.bak *~ GitVersion.h
3337

Makefile.Pi.HD44780

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ RemoteCommand: Log.o RemoteCommand.o UDPSocket.o
2727
%.o: %.cpp
2828
$(CXX) $(CFLAGS) -c -o $@ $<
2929

30+
install:
31+
install -m 755 MMDVMHost /usr/local/bin/
32+
install -m 755 RemoteCommand /usr/local/bin/
33+
3034
clean:
3135
$(RM) MMDVMHost RemoteCommand *.o *.d *.bak *~ GitVersion.h
3236

Makefile.Pi.OLED

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ RemoteCommand: Log.o RemoteCommand.o UDPSocket.o
2727
%.o: %.cpp
2828
$(CXX) $(CFLAGS) -c -o $@ $<
2929

30+
install:
31+
install -m 755 MMDVMHost /usr/local/bin/
32+
install -m 755 RemoteCommand /usr/local/bin/
33+
3034
clean:
3135
$(RM) MMDVMHost RemoteCommand *.o *.d *.bak *~ GitVersion.h
3236

Makefile.Pi.PCF8574

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ RemoteCommand: Log.o RemoteCommand.o UDPSocket.o
2828
%.o: %.cpp
2929
$(CXX) $(CFLAGS) -c -o $@ $<
3030

31+
install:
32+
install -m 755 MMDVMHost /usr/local/bin/
33+
install -m 755 RemoteCommand /usr/local/bin/
34+
3135
clean:
3236
$(RM) MMDVMHost RemoteCommand *.o *.d *.bak *~ GitVersion.h
3337

Makefile.Solaris

-39
This file was deleted.

0 commit comments

Comments
 (0)