Makefile: prevent linking duplicate object files
authorSzabolcs Nagy <nsz@port70.net>
Fri, 24 Jul 2020 14:37:31 +0000 (14:37 +0000)
committerSzabolcs Nagy <nsz@port70.net>
Fri, 24 Jul 2020 14:37:31 +0000 (14:37 +0000)
commit4b0ca742d7f3ecbe397d5a05655538bd33567938
tree48e44759b97f306ea45765c2fb4e1aac4f5120af
parenta48197259badabe56a6f33aaccf1480466e59286
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.
Makefile