freebsd-ports/lang/tcc/files/patch-Makefile
Dirk Meyer 687c7eb2b5 Tiny C Compiler
Features:
* SMALL! You can compile and execute C code everywhere, for example on rescue
  disks (about 100KB for x86 TCC executable, including C preprocessor,
  C compiler, assembler and linker).
* FAST! tcc generates x86 code. No byte code overhead. Compile, assemble and
  link several times faster than GCC.
* UNLIMITED! Any C dynamic library can be used directly. TCC is heading torward
  full ISOC99 compliance. TCC can of course compile itself.
* SAFE! tcc includes an optional memory and bound checker. Bound checked code
  can be mixed freely with standard code.
* Compile and execute C source directly. No linking or assembly necessary.
  Full C preprocessor and GNU-like assembler included.
* C script supported : just add '#!/usr/local/bin/tcc -run' at the first line
  of your C source, and execute it directly from the command line.
* With libtcc, you can use TCC as a backend for dynamic code generation.

WWW: http://bellard.org/tcc/
2008-11-30 14:03:58 +00:00

16 lines
488 B
Text

--- Makefile.orig 2008-03-31 09:24:00.000000000 +0200
+++ Makefile 2008-11-30 14:57:08.000000000 +0100
@@ -221,11 +221,13 @@
$(INSTALL) -m644 stdarg.h stddef.h stdbool.h float.h varargs.h \
tcclib.h "$(tccdir)/include"
endif
+ifndef NOPORTSDOC
mkdir -p "$(docdir)"
$(INSTALL) -m644 tcc-doc.html "$(docdir)"
ifdef CONFIG_WIN32
$(INSTALL) -m644 win32/readme.txt "$(docdir)"
endif
+endif
clean:
rm -f *~ *.o *.a tcc tcct tcc_g tcctest.ref *.bin *.i ex2 \