ircDDBGateway/GUICommon/Makefile
Geoffrey Merck F4FXL - KC3FRA dcb5b4b455 Add empty targets for dependencies in sub make file
This forces make to check if dependency (eg ../Common/Common.a) is more
recent than the target
2018-11-11 18:35:30 +01:00

21 lines
539 B
Makefile

OBJECTS = AddressTextCtrl.o CallsignTextCtrl.o DCSSet.o DescriptionTextCtrl.o DExtraSet.o DPlusSet.o DPRSSet.o PortTextCtrl.o RemoteSet.o \
RepeaterDataSet.o RepeaterInfoSet.o RestrictedTextCtrl.o StarNetSet.o XLXSet.o
.PHONY: all
all: GUICommon.a
GUICommon.a: $(OBJECTS) ../Common/Common.a
$(AR) rcs GUICommon.a $(OBJECTS)
-include $(OBJECTS:.o=.d)
%.o: %.cpp
$(CXX) $(CFLAGS) -I../Common -c -o $@ $<
$(CXX) -MM $(CFLAGS) -I../Common $< > $*.d
.PHONY: clean
clean:
$(RM) GUICommon.a *.o *.d *.bak *~
../Common/Common.a: