mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2026-04-06 06:43:52 +00:00
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:
parent
e66484340b
commit
dcb5b4b455
17 changed files with 45 additions and 17 deletions
|
|
@ -4,7 +4,7 @@ OBJECTS = TimerControlAppD.o TimerControlConfig.o TimerControlItemFile.o TimerCo
|
|||
.PHONY: all
|
||||
all: timercontrold
|
||||
|
||||
timercontrold: $(OBJECTS)
|
||||
timercontrold: $(OBJECTS) ../Common/Common.a
|
||||
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o timercontrold
|
||||
|
||||
-include $(OBJECTS:.o=.d)
|
||||
|
|
@ -21,3 +21,5 @@ install:
|
|||
clean:
|
||||
$(RM) timercontrold *.o *.d *.bak *~
|
||||
|
||||
../Common/Common.a:
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ OBJECTS = TimerControlApp.o TimerControlConfig.o TimerControlFrame.o TimerContro
|
|||
.PHONY: all
|
||||
all: timercontrol
|
||||
|
||||
timercontrol: $(OBJECTS)
|
||||
timercontrol: $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a
|
||||
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a $(LDFLAGS) $(GUILIBS) -o timercontrol
|
||||
|
||||
-include $(OBJECTS:.o=.d)
|
||||
|
|
@ -22,3 +22,5 @@ install:
|
|||
clean:
|
||||
$(RM) timercontrol *.o *.d *.bak *~
|
||||
|
||||
../GUICommon/GUICommon.a:
|
||||
../Common/Common.a:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue