parallel unix make bits
- Pat noticed that makedefs -z makes both vis_tab.[ch], but they could be built by two makes via make -j, causing corruption - make -j at top level failed for similar reasons, added several dependencies to ensure a valid ordering - these changes will cause extra things to be built if you "make" individual targets at the top level, but have little effect it you're a real power user and "make" the actual target in the right directory
This commit is contained in:
@@ -473,8 +473,8 @@ monstr.c: $(MAKEDEFS)
|
||||
@( cd ../util ; $(MAKE) ../src/monstr.c )
|
||||
../include/vis_tab.h: $(MAKEDEFS)
|
||||
@( cd ../util ; $(MAKE) ../include/vis_tab.h )
|
||||
vis_tab.c: $(MAKEDEFS)
|
||||
@( cd ../util ; $(MAKE) ../src/vis_tab.c )
|
||||
# makedefs -z makes both vis_tab.h and vis_tab.c, but writes the .h first
|
||||
vis_tab.c: ../include/vis_tab.h
|
||||
tile.c: ../win/share/tilemap.c $(HACK_H)
|
||||
@( cd ../util ; $(MAKE) ../src/tile.c )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user