Fix "make WINDOWS_BUILD=1 clean" on non-Windows hosts

The clean rule was not using the correct names for the compiled
executable files.
This commit is contained in:
Gilles Peskine 2018-09-26 13:42:26 +02:00
parent a84f97c9bd
commit 1596554c99

View File

@ -105,7 +105,7 @@ $(BINARIES): %$(EXEXT): %.c $(DEP)
clean: clean:
ifndef WINDOWS ifndef WINDOWS
rm -rf $(APPS) *.c *.datax TESTS rm -rf $(BINARIES) *.c *.datax TESTS
else else
del /Q /F *.c *.exe *.datax del /Q /F *.c *.exe *.datax
ifneq ($(wildcard TESTS/.*),) ifneq ($(wildcard TESTS/.*),)