Commit c598bdba authored by atzedijkstra@gmail.com's avatar atzedijkstra@gmail.com
Browse files

fix of compiler warnings

parent 0c708d42
......@@ -6,7 +6,7 @@ DIR_SRC := src
DIR_HELP := Help
DIR_IMGS := Images
DIR_BLD := build
DIR_BLD_JAR := build/ssm
DIR_BLD_JAR := build/ssm-classes
SSM_JAR := $(DIR_BLD)/ssm.jar
SSM_SRC := $(wildcard $(DIR_SRC)/nl/uu/cs/ssm/*.java) $(wildcard $(DIR_SRC)/nl/uu/cs/ssmui/*.java)
......@@ -22,6 +22,13 @@ $(SSM_JAR): $(SSM_SRC) $(SSM_SRC_HELP) $(SSM_SRC_IMGS) $(SSM_MKF)
mkdir -p $(DIR_BLD_JAR) $(DIR_BLD_JAR)/$(DIR_HELP) $(DIR_BLD_JAR)/$(DIR_IMGS)
cp $(SSM_SRC_HELP) $(DIR_BLD_JAR)/$(DIR_HELP)
cp $(SSM_SRC_IMGS) $(DIR_BLD_JAR)/$(DIR_IMGS)
( echo "Manifest-Version: 1.0" ; \
echo "Main-Class: nl.uu.cs.ssmui.Runner" ; \
) > $(DIR_BLD)/manifest
javac $(JAVAC_OPTS) -d $(DIR_BLD_JAR) $(SSM_SRC) && \
cd $(DIR_BLD_JAR) && \
jar cf ../$(@F) .
jar cmf ../manifest ../$(@F) .
clean:
rm -rf $(DIR_BLD)
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment