home *** CD-ROM | disk | FTP | other *** search
/ Computer Club Elmshorn Atari PD / CCE_PD.iso / pc / 0600 / CCE_0636.ZIP / CCE_0636 / CURSES / CRSSRC12.ZOO / src / gmakefile.16 < prev    next >
Text File  |  1991-09-27  |  773b  |  39 lines

  1. # Makefile for the GCC curses/termcap library (16 bit int default)
  2.  
  3. CC= d:\gnu\bin\gcc.ttp
  4. CPP=d:\gnu\bin\gcc-cpp.ttp
  5. AR= d:\gnu\bin\gcc-ar.ttp
  6. AS= $(CC)
  7. LIB = d:\gnu\lib
  8. INC = d:\gnu\include
  9.  
  10. MODEL = -mshort
  11. DEFINES = -DDGK -DGEMDOS
  12. COPTS= -O -gg -D__NO_INLINE__ $(DEFINES) $(XFLAGS)
  13.  
  14. # normal CFLAGS
  15. CFLAGS= $(MODEL) $(COPTS)
  16.  
  17. # CFLAGS sans -fomit-frame-pointer
  18. CFFLAGS = $(CFLAGS)
  19.  
  20. # cflags for stuff that needs to be compiled with 32 bit ints
  21. CLFLAGS= $(COPTS) -DSHORTLIB
  22.  
  23. # flags to $(CC) when it runs the assembler only
  24. ASFLAGS= -c
  25.  
  26. # pre-processor flags
  27. PPFLAGS= -P -D__MSHORT__ -D__NO_INLINE__
  28.  
  29. # library targets
  30. CURSES= gcurses16.olb
  31. TERMCAP = gtermcap16.olb
  32.  
  33. # the stuff to make
  34. ALL= $(CURSES) $(TERMCAP)
  35.  
  36. TESTS = testtcp.ttp twinkle.ttp worms.ttp
  37.  
  38. include mincl
  39.