Makefile 545 B

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # $Id$
  3. #
  4. # Makefile to automate sphinxapi.jar source builds
  5. #
  6. # order matters; full rebuild is always performed; but it somehow works
  7. SOURCES = \
  8. SphinxMatch.java \
  9. SphinxException.java \
  10. SphinxWordInfo.java \
  11. SphinxResult.java \
  12. SphinxClient.java \
  13. test.java
  14. CLASSES = $(SOURCES:.java=.class)
  15. all : sphinxapi.jar
  16. clean:
  17. rm -fr org
  18. rm -f sphinxapi.jar
  19. sphinxapi.jar: $(CLASSES)
  20. jar cfm sphinxapi.jar MANIFEST.MF org/sphx/api
  21. .SUFFIXES: .java .class
  22. vpath %.class org/sphx/api
  23. .java.class:
  24. javac -classpath . -d . $<
  25. #
  26. # $Id$
  27. #