2018-09-19 22:05:28 +02:00
|
|
|
OBJECTS = RemoteControlApp.o RemoteControlCallsignData.o RemoteControlConfig.o RemoteControlFrame.o RemoteControlLinkData.o \
|
|
|
|
|
RemoteControlPreferences.o RemoteControlRemoteControlHandler.o RemoteControlRemoteSet.o RemoteControlRepeaterData.o \
|
|
|
|
|
RemoteControlRepeaterPanel.o RemoteControlStarNetGroup.o RemoteControlStarNetPanel.o RemoteControlStarNetUser.o
|
|
|
|
|
|
2018-11-11 17:13:17 +01:00
|
|
|
.PHONY: all
|
2018-09-19 22:05:28 +02:00
|
|
|
all: remotecontrol
|
|
|
|
|
|
2018-11-11 18:35:30 +01:00
|
|
|
remotecontrol: $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a
|
2018-09-19 22:05:28 +02:00
|
|
|
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(GUILIBS) -o remotecontrol
|
|
|
|
|
|
2018-11-11 17:13:17 +01:00
|
|
|
-include $(OBJECTS:.o=.d)
|
|
|
|
|
|
2018-09-19 22:05:28 +02:00
|
|
|
%.o: %.cpp
|
|
|
|
|
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -c -o $@ $<
|
2018-11-11 17:13:17 +01:00
|
|
|
$(CXX) -MM $(CFLAGS) -I../Common -I../GUICommon $< > $*.d
|
2018-09-19 22:05:28 +02:00
|
|
|
|
2018-11-11 17:13:17 +01:00
|
|
|
.PHONY: install
|
2018-09-19 22:05:28 +02:00
|
|
|
install:
|
|
|
|
|
install -g bin -o root -m 0775 remotecontrol $(BINDIR)
|
|
|
|
|
|
2018-11-11 17:13:17 +01:00
|
|
|
.PHONY: clean
|
2018-09-19 22:05:28 +02:00
|
|
|
clean:
|
|
|
|
|
$(RM) remotecontrol *.o *.d *.bak *~
|
|
|
|
|
|
2018-11-11 18:35:30 +01:00
|
|
|
../GUICommon/GUICommon.a:
|
|
|
|
|
../Common/Common.a:
|