diff --git a/sys/unix/Makefile.utl b/sys/unix/Makefile.utl index 3a12e0a2f..c51e1991a 100644 --- a/sys/unix/Makefile.utl +++ b/sys/unix/Makefile.utl @@ -378,7 +378,7 @@ uudecode.o: ../sys/share/uudecode.c # make sure host object files from src are available when needed # (note: these dependencies have been copied from Makefile.src so only come # indirectly from 'make depend', hence are subject to bit rot as src changes) -$(OBJDIR)/alloc.o: ../src/alloc.c $(CONFIG_H) +$(OBJDIR)/alloc.o: ../src/alloc.c $(CONFIG_H) ../include/nhlua.h $(CC) $(CFLAGS) $(CSTD) -c ../src/alloc.c -o $@ $(OBJDIR)/drawing.o: ../src/drawing.c $(CONFIG_H) ../include/color.h \ ../include/rm.h ../include/objclass.h ../include/defsym.h \ @@ -400,7 +400,8 @@ $(OBJDIR)/dlb.o: ../src/dlb.c $(CONFIG_H) ../include/dlb.h # this differs substantially from what Makefile.src specifies $(OBJDIR)/date.o: ../src/date.c $(CONFIG_H) $(CC) $(CFLAGS) $(CSTD) -c ../src/date.c -o $@ - +../include/nhlua.h: + @( cd .. ; $(MAKE) lua_support ) # make sure hack.h dependencies get transitive information $(HACK_H): $(CONFIG_H) @( cd ../src ; $(MAKE) $(HACK_H) )