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:
@@ -187,8 +187,8 @@ makedefs.o: makedefs.c $(CONFIG_H) ../include/permonst.h \
|
||||
./makedefs -m
|
||||
../include/vis_tab.h: makedefs
|
||||
./makedefs -z
|
||||
../src/vis_tab.c: makedefs
|
||||
./makedefs -z
|
||||
# makedefs -z makes both vis_tab.h and vis_tab.c, but writes the .h first
|
||||
../src/vis_tab.c: ../include/vis_tab.h
|
||||
|
||||
lintdefs:
|
||||
@lint -axbh -I../include -DLINT $(MAKESRC) $(CMONOBJ) | sed '/_flsbuf/d'
|
||||
|
||||
Reference in New Issue
Block a user