4b0ca7 Makefile: prevent linking duplicate object files

Authored and Committed by Szabolcs Nagy 3 years ago
1 file changed. 3 lines added. 3 lines removed.
    Makefile: prevent linking duplicate object files
    
    previously the foo.OBJS list could not include foo.o because that's
    already linked into foo.exe, but this is an easy mistake to make when
    using foo.OBJS to link multiple objects into a test binary so ensure
    that objects are not duplicated on the link command line.
    
        
file modified
+3 -3