home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / diverses / leda / prog / graphics / makefile.sun < prev    next >
Encoding:
Makefile  |  1991-11-15  |  373 b   |  29 lines

  1. #
  2.  
  3. include Make.lst
  4.  
  5. SLIB = ../../libWs.a ../../libP.a ../../libG.a ../../libL.a -lsuntool -lsunwindow -lpixrect -lm
  6.  
  7.  
  8. CC  = ../../c++
  9. CFLAGS = -g
  10.  
  11. .c:
  12.     $(CC)  $(CFLAGS) -c $*.c
  13.     ccC=/bin/cc;export ccC;\
  14.     $(CC)  $(CFLAGS) -o $* $*.o $(SLIB)
  15.     rm -f $*.o
  16.  
  17. .o:
  18.     ccC=/bin/cc;export ccC;\
  19.     $(CC) $(CFLAGS) -o $* $*.o $(SLIB)
  20.  
  21.  
  22.  
  23.  
  24. all: $(PROGS)
  25.  
  26. clean:
  27.     rm -f *.o
  28.     rm -f $(PROGS)
  29.