home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 July / Chip_1998-07_cd.bin / zkuste / JBuilder / BDK / Win / bdk_sep97.exe / _SETUP.1 / jelly.mk < prev    next >
Encoding:
Makefile  |  1997-09-10  |  746 b   |  35 lines

  1. # The makefile for the world's simplest Java bean.
  2.  
  3. CLASSFILES= \
  4.     sunw\demo\jelly\JellyBean.class \
  5.     sunw\demo\jelly\JellyBeanBeanInfo.class
  6.  
  7. DATAFILES= \
  8.     sunw\demo\jelly\JellyBeanIconColor16.gif \
  9.     sunw\demo\jelly\JellyBeanIconColor32.gif \
  10.     sunw\demo\jelly\JellyBeanIconMono16.gif \
  11.     sunw\demo\jelly\JellyBeanIconMono32.gif
  12.  
  13. JARFILE= ..\jars\jelly.jar
  14.  
  15. all: $(JARFILE)
  16.  
  17. # Create a JAR file with a suitable manifest.
  18.  
  19. $(JARFILE): $(CLASSFILES) $(DATAFILES)
  20.     jar cfm $(JARFILE) <<manifest.tmp sunw\demo\jelly\*.class $(DATAFILES)
  21. Name: sunw/demo/jelly/JellyBean.class
  22. Java-Bean: True
  23. <<
  24.  
  25. .SUFFIXES: .java .class
  26.  
  27. {sunw\demo\jelly}.java{sunw\demo\jelly}.class :
  28.     set CLASSPATH=.
  29.     javac $<
  30.  
  31. clean:
  32.     -del sunw\demo\jelly\*.class
  33.     -del $(JARFILE)
  34.  
  35.