Tiny patch. Makefile "make clean" broken in msys/mingw.
Posted: Wed 01 Apr, 2015 9:46 pm
In Makefile.mingw, you seem to have forgotten that the "del" command doesn't exist within an msys shell, which is the preferred mingw dev environment.
this makes
work properly.
Code: Select all
--- Makefile.mingw 2015-04-01 16:40:54 -0500
+++ Makefile.mingw 2015-04-01 16:41:11 -0500
@@ -33,9 +33,9 @@
all : PCem.exe
clean :
- del *.o
- del *.exe
- del *.res
+ rm -f *.o
+ rm -f *.exe
+ rm -f *.res
%.o : %.c
$(CC) $(CFLAGS) -c $<
Code: Select all
make -f Makefile.mingw clean
work properly.