Makefile
上传用户:psq1974
上传日期:2007-01-06
资源大小:1195k
文件大小:1k
- #-------------------------------------------------------------------------
- #
- # Makefile
- # Makefile for Video Server project
- #
- # IDENTIFICATION
- # $Header: /home/andrew/CVSROOT/VideoServer/edu/sunysb/csecsl/videoserver/Makefile,v 1.1 1998/01/27 01:34:43 andrew Exp $
- #
- #-------------------------------------------------------------------------
- FIND = find
- JAR = jar
- JAVA = java
- JAVAC = javac
- JAVADOC = javadoc
- RM = rm -f
- LN = ln -sf
- OBJS = VideoServer.class
- Properties.class
- # This defines how to compile a java class
- %.class: %.java
- $(JAVAC) -classpath .:../src:/usr/lib/jdk/lib/classes.zip -d ./.. $<
- .SUFFIXES: .class .java
- .PHONY: all clean doc
- VPATH = ../src
- all: $(OBJS)
- VideoServer.jar: $(OBJS)
- $(JAR) -c0vf $@ $^
- # This rule removes any temporary and compiled files from the source tree.
- clean:
- $(FIND) . -name "*~" -exec $(RM) {} ;
- $(FIND) . -name "*.class" -exec $(RM) {} ;
- $(RM) postgresql.jar
- #######################################################################
- # This helps make workout what classes are from what source files
- #
- # Java is unlike C in that one source file can generate several
- # _Different_ file names
- #
- VideoServer.class: VideoServer.java
- Properties.class: Properties.java