mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2026-04-04 13:57:41 +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
|
|
@ -3,7 +3,7 @@ OBJECTS = StarNetServerAppD.o StarNetServerConfig.o StarNetServerThread.o StarNe
|
|||
.PHONY: all
|
||||
all: starnetserverd
|
||||
|
||||
starnetserverd: $(OBJECTS)
|
||||
starnetserverd: $(OBJECTS) ../Common/Common.a ../ircDDB/IRCDDB.a
|
||||
$(CXX) $(OBJECTS) ../Common/Common.a ../ircDDB/IRCDDB.a $(LDFLAGS) $(LIBS) -o starnetserverd
|
||||
|
||||
-include $(OBJECTS:.o=.d)
|
||||
|
|
@ -20,3 +20,5 @@ install:
|
|||
clean:
|
||||
$(RM) starnetserverd *.o *.d *.bak *~
|
||||
|
||||
../Common/Common.a:
|
||||
../ircDDB/IRCDDB.a:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue