mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-11-08 23:27:15 -05:00
Makefile: include $(PROGOBJ) in $(DIRS) dependency
The $(DIRS) dependency didn't include $(PROGOBJ), which could cause Make to try to build asm/nasm.o or disasm/ndisasm.o before the corresponding object subdirectory had been created. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
@@ -224,7 +224,7 @@ ZLIBOBJ = \
|
||||
|
||||
LIBOBJ = $(LIBOBJ_W) $(LIBOBJ_NW) $(ZLIB)
|
||||
ALLOBJ_W = $(NASM) $(LIBOBJ_W)
|
||||
ALLOBJ = $(PROGOBJ) $(LIBOBJ)
|
||||
ALLOBJ = $(PROGOBJ) $(LIBOBJ) $(LIBOBJ_DIS)
|
||||
SUBDIRS = stdlib nasmlib include config output asm disasm x86 \
|
||||
common zlib macros misc
|
||||
XSUBDIRS = nsis win test doc editors
|
||||
@@ -262,7 +262,7 @@ ndisasm$(X): $(NDISASM) $(MANIFEST) $(DISLIB) $(NASMLIB)
|
||||
$(DISLIB) $(NASMLIB) $(LIBS)
|
||||
|
||||
# Make sure we have subdirectories set up...
|
||||
$(LIBOBJ) $(LIBOBJ_DIS): $(DIRS)
|
||||
$(ALLOBJ): $(DIRS)
|
||||
|
||||
#-- Begin Generated File Rules --#
|
||||
|
||||
|
||||
@@ -175,7 +175,7 @@ ZLIBOBJ = \
|
||||
|
||||
LIBOBJ = $(LIBOBJ_W) $(LIBOBJ_NW) $(ZLIB)
|
||||
ALLOBJ_W = $(NASM) $(LIBOBJ_W)
|
||||
ALLOBJ = $(PROGOBJ) $(LIBOBJ)
|
||||
ALLOBJ = $(PROGOBJ) $(LIBOBJ) $(LIBOBJ_DIS)
|
||||
SUBDIRS = stdlib nasmlib include config output asm disasm x86 \
|
||||
common zlib macros misc
|
||||
XSUBDIRS = nsis win test doc editors
|
||||
|
||||
@@ -161,7 +161,7 @@ ZLIBOBJ = &
|
||||
|
||||
LIBOBJ = $(LIBOBJ_W) $(LIBOBJ_NW) $(ZLIB)
|
||||
ALLOBJ_W = $(NASM) $(LIBOBJ_W)
|
||||
ALLOBJ = $(PROGOBJ) $(LIBOBJ)
|
||||
ALLOBJ = $(PROGOBJ) $(LIBOBJ) $(LIBOBJ_DIS)
|
||||
SUBDIRS = stdlib nasmlib include config output asm disasm x86 &
|
||||
common zlib macros misc
|
||||
XSUBDIRS = nsis win test doc editors
|
||||
|
||||
Reference in New Issue
Block a user