home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 November / Chip_1998-11_cd.bin / tema / Cafe / PDESAMPL.BIN / hello7.mak < prev    next >
Text File  |  1997-09-08  |  1KB  |  45 lines

  1. !if !defined( build )
  2. default :
  3.     @echo You must specify a debug or release build.  Do so with
  4.     @echo either build=debug or build=release.
  5.     @echo You can delete compiler output with
  6.     @echo make build=debug clean
  7.     @echo or
  8.     @echo make build=release clean
  9.     @echo You can rebuild everything with
  10.     @echo make build=debug all
  11.     @echo or
  12.     @echo make build=release all
  13.  
  14. !else
  15.  
  16. MODULE = hello7
  17.  
  18. !include ..\make.defs
  19.  
  20. SRCS = \
  21.         src\samples\rmi1\Hello7.java              \
  22.         out\samples\rmi1\Hello7Server_Skel.java   \
  23.         out\samples\rmi1\Hello7Server_Stub.java
  24.  
  25. JC_EXTRA_FLAGS = -d out -classpath src;out;$(RUNTIME_CLASSES) -export "samples.rmi1.*" snjrmi.lib
  26. RMIC_FLAGS = -d out -classpath out;$(RUNTIME_CLASSES) -keepgenerated
  27.  
  28. default :
  29.         rmic samples.rmi1.Hello7Server $(RMIC_FLAGS)
  30.         $(JC) $(SRCS) $(JC_FLAGS) $(DLL_LINK)  $(JC_EXTRA_FLAGS)
  31.  
  32. all : clean default
  33.  
  34.  
  35. clean :
  36.         del out\samples\rmi1\*.class
  37.         del out\samples\rmi1\*.obj
  38.         del hello7.cdb
  39.         del hello7.dll
  40.         del hello7.lib
  41.         del hello7.tdb
  42.         del hello7.map
  43.  
  44.  
  45. !endif