aboutsummaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorChristian Jullien <Christian Jullien>2017-02-24 22:51:10 +0100
committerChristian Jullien <Christian Jullien>2017-02-24 22:51:10 +0100
commit669f61117d6ff2255649e80a9708fe24e32d4a33 (patch)
tree4e3505cd8d77176cd2666616c80ad366afc79546 /win32
parent2e0a8f9b371663d419fe9f00abf3a9fad47efc46 (diff)
downloadtinycc-669f61117d6ff2255649e80a9708fe24e32d4a33.tar.gz
tinycc-669f61117d6ff2255649e80a9708fe24e32d4a33.tar.bz2
Cygwin Makefile was to aggresive to remove entire lib/
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/win32/Makefile b/win32/Makefile
index e86e122..ad5d8e1 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -45,12 +45,10 @@ pre:
@echo "#define TCC_LIBTCC1 \"libtcc1-32.a\"" 1>>../config.h
@echo "#endif" 1>>../config.h
@echo @set VERSION $(VERSION) 1>../config.texi
- @rm -f *tcc.exe tiny_*.exe *tcc.dll
- @rm -r -f libtcc
- @rm -r -f libtcc doc lib
+ @rm -f *tcc.exe tiny_*.exe *tcc.dll lib/*.a
+ @rm -r -f libtcc doc
@mkdir libtcc
@mkdir doc
- @mkdir lib
@cp ../include/*.h include
@cp ../tcclib.h include
@cp ../libtcc.h include
@@ -141,4 +139,4 @@ tarball:
PHONY += tarball
clean:
- rm -f *.o *.exe *.dll lib/*/*.a *.pdb *.obj *.exp *.def *.lib
+ rm -f *.o *.exe *.dll lib/*.a *.pdb *.obj *.exp *.def *.lib