home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 161_01 / m68k.d < prev    next >
Text File  |  1985-11-26  |  1KB  |  48 lines

  1. ###mkavg.sh
  2. set -x
  3.  
  4. cc -o avg avg.c libtim -lm
  5.  
  6. avg intreg.out 2 >intreg.avg
  7. avg sstat.out 5 >sstat.avg
  8. avg sauto.out 5 >sauto.avg
  9. avg lauto.out 5 >lauto.avg
  10. avg dauto.out 100 >dauto.avg
  11. avg cauto.out 5 >cauto.avg
  12. avg fauto.out 100 >fauto.avg
  13. ###config.h
  14. /* config.h - configuration data for each environment
  15.  *        This file should either be customized to the intended
  16.  *        compiler/machine environment, or parameterized via -D flags
  17.  *        on the compile step:
  18.  *        -D USHORT    if compiler supports unsigned short
  19.  *        -D UTINY    if compiler supports unsigned char
  20.  *        -D VOID        if compiler supports void
  21.  *        -D ULONG    if compiler supports unsigned LONG
  22.  */
  23. #define UTINY    /* UNIX System 3 ff */
  24. #define USHORT    /* UNIX System 3 ff */
  25. #define ULONG    /* UNIX System 3 ff */
  26. #define VOID    /* UNIX System 3 ff */
  27. #ifdef USHORT
  28. typedef unsigned short ushort;
  29. #else
  30. typedef unsigned ushort;    /* assumes short == int */
  31. #endif
  32. #ifdef UTINY
  33. typedef unsigned char utiny;
  34. #endif
  35. #ifdef ULONG
  36. typedef unsigned long ulong;
  37. #endif
  38. #ifndef VOID
  39. #define void int
  40. #endif
  41. #define MINSAM 2e6        /* minimum timing sample (usec) */
  42. #define NTRY 100        /* maximum no of code excerpts per file */
  43. #define FR_ANCHOR arg1    /* what is the "frame anchor": arg1 or var1 */
  44. #define RETOFFSET (-1)    /* offset of return pointer
  45.                            relative to frame anchor */
  46. #define JUNKFILE "/dev/null"
  47. ###EOF
  48.