home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PROG_C / BUTCLAS3.ZIP / LMKFILE < prev    next >
Text File  |  1994-02-08  |  976b  |  40 lines

  1. #
  2. # Lmkfile for boopsi button class and sas/c 6.51
  3. #
  4. # Written by Douglas Keller
  5. #
  6.  
  7. FILE     = test
  8. CFLAGS   = uchar strmer parm=r opt optinlocal optsched
  9. LINKFLAGS= SC SD NOICONS VERBOSE
  10. LIBS     = lib:small.lib lib:scnb.lib lib:debug.lib
  11. OBJS     = test.o
  12. LIBOBJS  = buttonclass.o progressclass.o
  13. LIBOBJSNB= buttonclass_nb.o progressclass_nb.o
  14. LIB      = ButtonClass.lib
  15. LIBNB    = ButtonClassNB.lib
  16.  
  17. .c.o:
  18.     @echo "sc dbg=s nostkchk $(CFLAGS) $*.c"
  19.     @sc dbg=s nostkchk $(CFLAGS) $*.c
  20.     @echo "sc dbg=s nostkchk $(CFLAGS) data=fo objname=$*_nb.o $*.c"
  21.     @sc dbg=s nostkchk $(CFLAGS) data=fo objname=$*_nb.o $*.c
  22.  
  23.  
  24. all: $(LIB) $(FILE)
  25.  
  26. $(LIB):  $(LIBOBJS) lmkfile
  27.     @oml $(LIB) r $(LIBOBJS)
  28.     @oml $(LIBNB) r $(LIBOBJSNB)
  29.  
  30. $(FILE):  $(OBJS) $(LIB) lmkfile
  31.     @SLINK <WITH <
  32.         ND
  33.         TO $(FILE) FROM $(OBJS) LIBRARY $(LIB) $(LIBS) $(LINKFLAGS)
  34.         MAP test.map,h
  35.         <
  36.  
  37. test.o: test.c buttonclass.h
  38. buttonclass.o: buttonclass.c buttonclass.h
  39. progressclass.o: progressclass.c buttonclass.h
  40.