ircDDBGateway/RemoteControl/Makefile

25 lines
718 B
Makefile
Raw Normal View History

OBJECTS = RemoteControlAppD.o RemoteControlCallsignData.o RemoteControlConfig.o RemoteControlLinkData.o RemoteControlRemoteControlHandler.o \
RemoteControlRepeaterData.o RemoteControlStarNetGroup.o RemoteControlStarNetUser.o
2018-05-15 20:32:38 +02:00
.PHONY: all
all: remotecontrold
2018-05-15 20:32:38 +02:00
remotecontrold: $(OBJECTS) ../Common/Common.a
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o remotecontrold
2018-05-15 20:32:38 +02:00
-include $(OBJECTS:.o=.d)
2018-05-15 20:32:38 +02:00
%.o: %.cpp
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
$(CXX) -MM -DwxUSE_GUI=0 $(CFLAGS) -I../Common $< > $*.d
2018-05-15 20:32:38 +02:00
.PHONY: install
2018-05-15 22:19:47 +02:00
install:
install -g root -o root -m 0755 remotecontrold $(DESTDIR)$(BINDIR)
2018-05-15 22:19:47 +02:00
.PHONY: clean
2018-05-15 20:32:38 +02:00
clean:
$(RM) remotecontrold *.o *.d *.bak *~
2018-05-15 20:32:38 +02:00
../Common/Common.a: