home *** CD-ROM | disk | FTP | other *** search
/ Audio 4.94 - Over 11,000 Files / audio-11000.iso / amiga / midi / glib.lzh / GLIB / UNIX-MAKE < prev    next >
Encoding:
Text File  |  1991-08-16  |  609 b   |  24 lines

  1. CFLAGS = -O
  2.  
  3. OBJ = machdep.o glib.o list.o dx100.o tx81z.o tx81p.o dw8000.o yama_com.o
  4.  
  5. #LIBS = -lcurses -ltermcap
  6. LIBS = -lcurses
  7.  
  8. glib : $(OBJ)
  9.     cc $(OBJ) $(LIBS) -o glib
  10.  
  11. # On the UNIX PC (at least mine), cbreak() and nocbreak() aren't in
  12. # libcurses.a so this hack (-DFAKECBREAK) is one way out.
  13. machdep.o : machdep.c
  14.     # On the UNIX PC, add a -DFAKECBREAK to the following line
  15.     cc $(CFLAGS) -c machdep.c
  16.  
  17. lint :
  18.     lint glib.c list.c machdep.c dx100.c dw8000.c tx81z.c tx81p.c \
  19.     yama_com.c
  20.  
  21. st-arc :
  22.     arc a glib.arc glib.c list.c dx100.c tx81z.c tx81p.c glib.h \
  23.     yama_com.c dw8000.c  st-mach.c st-mach.h
  24.