revtools.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /******************************************************************************
  2. *
  3. * project name: TI-68k Developer Utilities
  4. * file name: revtools.h
  5. * initial date: 23/08/2000
  6. * author: thomas.nussbaumer@gmx.net
  7. * description: macros for automatic handling of version number output
  8. *
  9. * examine one of the pctools source codes to see how it works ;-)
  10. *
  11. ******************************************************************************/
  12. /*
  13. This file is part of TI-68k Developer Utilities.
  14. This file is free software; you can redistribute it and/or
  15. modify it under the terms of the GNU Lesser General Public
  16. License as published by the Free Software Foundation; either
  17. version 2.1 of the License, or (at your option) any later version.
  18. As a special exception, UNMODIFIED copies of revtools may also be
  19. redistributed or sold without source code, for any purpose. (The Lesser
  20. General Public License restrictions do apply in other respects; for example,
  21. they cover modification of the program.) This exception notice must be
  22. removed on modified copies of this file.
  23. This program is distributed in the hope that it will be useful,
  24. but WITHOUT ANY WARRANTY; without even the implied warranty of
  25. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  26. Lesser General Public License for more details.
  27. You should have received a copy of the GNU Lesser General Public
  28. License along with this library; if not, write to the Free Software
  29. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  30. */
  31. #ifndef __REV_TOOLS_H__
  32. #define __REV_TOOLS_H__
  33. #include <stdio.h>
  34. #define PRINT_ID(name) {fprintf(stdout,"\n");fprintf(stdout, name" ");\
  35. fprintf(stdout,FILE_REVISION);\
  36. fprintf(stdout," - TI-68k Developer Utilities v"TTV_MAIN TTV_SUB"\n" \
  37. "(c) thomas.nussbaumer@gmx.net "__DATE__" "__TIME__"\n\n");}
  38. #endif
  39. //#############################################################################
  40. //###################### NO MORE FAKES BEYOND THIS LINE #######################
  41. //#############################################################################