home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Graphics / PPT / pluginsrc / sample_effect / DMakefile next >
Makefile  |  1998-11-11  |  681b  |  40 lines

  1. #
  2. # This is a generic effect makefile for DICE.
  3. #
  4. # $Id:$
  5. #
  6. # This variable tells the name.
  7.  
  8. NAME=sample_effect
  9.  
  10. # Tell here which libraries you wish to link too
  11.  
  12. LINKLIBS=
  13.  
  14. # Other stuff. Nothing of major importance.
  15.  
  16. MAINDIR=work:source/c/ppt
  17. INSTDIR=modules
  18. EXE=$(NAME).effect
  19.  
  20. CC=    dcc
  21. COPTS= -I$(MAINDIR)/include -Iinclude:
  22. LINK=  dlink
  23. LOPTS= -s dlib:amiga31s.lib
  24.  
  25. $(EXE) : $(NAME).o
  26.     $(LINK) $(LOPTS) $(LINKLIBS) -o $(EXE) %(right)
  27.  
  28. $(NAME).o:$(NAME).c $(NAME).h $(MAINDIR)/ppt.h
  29.     $(CC) -c $(COPTS) $(NAME).c -o %(left)
  30.  
  31. clean:
  32.     Delete #?.o
  33.  
  34. clobber:
  35.     Delete #?.o $(EXE)
  36.  
  37. install : $(EXE)
  38.     slink %(right) TO $(MAINDIR)/$(INSTDIR)/$(EXE) STRIPDEBUG NOICONS
  39.  
  40.