Skip to content
This repository was archived by the owner on Nov 22, 2023. It is now read-only.

Commit 669f611

Browse files
Christian JullienChristian Jullien
authored andcommitted
Cygwin Makefile was to aggresive to remove entire lib/
1 parent 2e0a8f9 commit 669f611

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

win32/Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,10 @@ pre:
4545
@echo "#define TCC_LIBTCC1 \"libtcc1-32.a\"" 1>>../config.h
4646
@echo "#endif" 1>>../config.h
4747
@echo @set VERSION $(VERSION) 1>../config.texi
48-
@rm -f *tcc.exe tiny_*.exe *tcc.dll
49-
@rm -r -f libtcc
50-
@rm -r -f libtcc doc lib
48+
@rm -f *tcc.exe tiny_*.exe *tcc.dll lib/*.a
49+
@rm -r -f libtcc doc
5150
@mkdir libtcc
5251
@mkdir doc
53-
@mkdir lib
5452
@cp ../include/*.h include
5553
@cp ../tcclib.h include
5654
@cp ../libtcc.h include
@@ -141,4 +139,4 @@ tarball:
141139
PHONY += tarball
142140

143141
clean:
144-
rm -f *.o *.exe *.dll lib/*/*.a *.pdb *.obj *.exp *.def *.lib
142+
rm -f *.o *.exe *.dll lib/*.a *.pdb *.obj *.exp *.def *.lib

0 commit comments

Comments
 (0)