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 / makefile.16 < prev    next >
Makefile  |  1992-04-27  |  841b  |  40 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 = -I. -mshort
  11. DEFINES = -DDGK -DGEMDOS
  12. COPTS= -O -fomit-frame-pointer -fstrength-reduce \
  13.  -DNDEBUG $(DEFINES) $(XFLAGS)
  14.  
  15. # normal CFLAGS
  16. CFLAGS= $(MODEL) $(COPTS)
  17.  
  18. # CFLAGS sans -fomit-frame-pointer
  19. CFFLAGS = $(MODEL) -O -DNDEBUG $(DEFINES) $(XFLAGS)
  20.  
  21. # cflags for stuff that needs to be compiled with 32 bit ints
  22. CLFLAGS= $(COPTS) -DSHORTLIB $(XFLAGS)
  23.  
  24. # flags to $(CC) when it runs the assembler only
  25. ASFLAGS= -c
  26.  
  27. # pre-processor flags
  28. PPFLAGS= -P -D__MSHORT__ -DNDEBUG
  29.  
  30. # library targets
  31. CURSES= curses16.olb
  32. TERMCAP = termcap16.olb
  33.  
  34. # the stuff to make
  35. ALL= $(CURSES) $(TERMCAP)
  36.  
  37. TESTS = testtcp.ttp twinkle.ttp worms.ttp
  38.  
  39. include mincl
  40.