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

  1.  
  2. SUBDIRS = demo beanbox
  3.  
  4. ACTIONS = all clean
  5.  
  6. all: jars
  7.     @$(MAKE) -nologo $(SUBDIRS) action=all
  8.  
  9. run:
  10.     cd beanbox
  11.     $(MAKE) -nologo run
  12.     @cd ..
  13.  
  14. jars:
  15.     mkdir $@
  16.  
  17. clean:
  18.     @$(MAKE) -nologo $(SUBDIRS) action=clean
  19.     @echo.
  20. !if "$(OS)" == "Windows_NT"
  21.         if exist classes/$(NULL) rmdir /s/q classes
  22.         if exist jars/$(NULL) rmdir /s/q jars
  23. !else
  24.     -deltree/y jars
  25.     -deltree/y classes
  26. !endif
  27.  
  28. $(SUBDIRS) : FORCE
  29.     @echo.
  30.     cd $@
  31.     $(MAKE) -nologo $(action)
  32.     @cd ..
  33.  
  34. FORCE :
  35.