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
This commit is contained in:
Geoffrey Merck F4FXL - KC3FRA 2018-11-11 18:35:30 +01:00
parent e66484340b
commit dcb5b4b455
17 changed files with 45 additions and 17 deletions

View file

@ -12,7 +12,7 @@ OBJECTS = AMBEData.o AnnouncementUnit.o APRSCollector.o APRSWriter.o APRSWriterT
.PHONY: all
all: Common.a
Common.a: $(OBJECTS)
Common.a: $(OBJECTS) ../ircDDB/IRCDDB.a
$(AR) rcs Common.a $(OBJECTS)
-include $(OBJECTS:.o=.d)
@ -25,3 +25,4 @@ Common.a: $(OBJECTS)
clean:
$(RM) Common.a *.o *.d *.bak *~
../ircDDB/IRCDDB.a: