This commit is contained in:
bellard 2005-04-15 00:11:02 +00:00
parent 02af482c32
commit ce93d5440f
2 changed files with 7 additions and 35 deletions

View File

@ -1,8 +1,6 @@
tcc_g tcc_g
tcc tcc
tc2.c tc2.c
ex3
otcc1.c
doc doc
tc3s.c tc3s.c
p3.c p3.c
@ -14,27 +12,15 @@ test.out3
web.sh web.sh
memdebug.c memdebug.c
bench bench
tcc-newparse.c
p1.c
Makefile.uClibc Makefile.uClibc
boundtest boundtest
p4.c
p5.c
prog.ref prog.ref
test.ref test.ref
a.c
p3
test.out test.out
elf.h
stab.h
stab.def
p2
tcc-doc.html tcc-doc.html
ideas ideas
tcctest.ref tcctest.ref
test
linux.tcc linux.tcc
wintest.c
ldtest ldtest
libtcc_test libtcc_test
instr.S instr.S
@ -48,4 +34,4 @@ tcc.pod
config.h config.h
config.mak config.mak
config.texi config.texi
gcctestsuite.sh tests

View File

@ -214,9 +214,9 @@ ifdef CONFIG_WIN32
endif endif
clean: clean:
rm -f *~ *.o tcc tcc1 tcct tcc_g tcctest.ref *.bin *.i ex2 \ rm -f *~ *.o *.a tcc tcc1 tcct tcc_g tcctest.ref *.bin *.i ex2 \
core gmon.out test.out test.ref a.out tcc_p \ core gmon.out test.out test.ref a.out tcc_p \
*.exe tcc-doc.html tcc.pod tcc.1 libtcc$(LIBSUF) libtcc_test \ *.exe *.lib tcc.pod libtcc$(LIBSUF) libtcc_test \
tcctest[1234] test[1234].out $(PROGS) win32/lib/*.o tcctest[1234] test[1234].out $(PROGS) win32/lib/*.o
distclean: clean distclean: clean
@ -285,25 +285,11 @@ tcc.1: tcc-doc.texi
./texi2pod.pl $< tcc.pod ./texi2pod.pl $< tcc.pod
pod2man --section=1 --center=" " --release=" " tcc.pod > $@ pod2man --section=1 --center=" " --release=" " tcc.pod > $@
FILES= Makefile Makefile.uClibc configure VERSION \ FILE=tcc-$(shell cat VERSION)
README TODO COPYING \
Changelog tcc-doc.texi tcc-doc.html \
tcc.1 \
tcc.c tccelf.c tcctok.h tccasm.c i386-asm.c i386-asm.h \
tcccoff.c coff.h \
i386-gen.c c67-gen.c arm-gen.c \
bcheck.c libtcc1.c \
elf.h stab.h stab.def \
stddef.h stdarg.h stdbool.h float.h varargs.h \
tcclib.h libtcc.h libtcc_test.c \
ex1.c ex2.c ex3.c ex4.c ex5.c \
tcctest.c boundtest.c gcctestsuite.sh texi2pod.pl
FILE=tcc-$(VERSION)
# tar release (use 'make -k tar' on a checkouted tree)
tar: tar:
rm -rf /tmp/$(FILE) rm -rf /tmp/$(FILE)
mkdir -p /tmp/$(FILE) cp -r . /tmp/$(FILE)
cp -P $(FILES) /tmp/$(FILE) ( cd /tmp ; tar zcvf ~/$(FILE).tar.gz $(FILE) --exclude CVS )
( cd /tmp ; tar zcvf ~/$(FILE).tar.gz $(FILE) )
rm -rf /tmp/$(FILE) rm -rf /tmp/$(FILE)