lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> When changing a few files on Windows (MinGW) and re-running make, the 
> following rule causes an error:
> >$(LUA_A): $(CORE_O) $(LIB_O)
> >	$(AR) $@ $?
> >	$(RANLIB) $@
> "$?" gives only the recently changed files but MinGW needs all files 
> ("$^") to build the DLL. This will cause a lot of "undefined reference 
> to..." errors.
> (I think this problem was already described by others, but I didn't find 
> the threads now.)

Yes, see

So, is removing the DLL before compiling the right solution?