move main.class compilation and building

This commit is contained in:
foo
2016-02-15 20:40:25 +00:00
parent 6e5eb2b2c5
commit ce08d3bf86
2 changed files with 3 additions and 4 deletions

View File

@@ -3,8 +3,7 @@ JAVA = /usr/bin/java
JAVAC = /usr/bin/javac
JFLAGS = -g # -classpath $(LIBS)
SRCS = main.java \
uk/org/mafoo/wordbubbles/Cell.java \
SRCS = uk/org/mafoo/wordbubbles/Cell.java \
uk/org/mafoo/wordbubbles/ImpossibleException.java \
uk/org/mafoo/wordbubbles/Lexicon.java \
uk/org/mafoo/wordbubbles/Prison.java
@@ -21,7 +20,7 @@ run: all
.java.class:
$(JAVAC) $(JFLAGS) $<
build: $(OBJS)
build: $(OBJS) main.class
clean:
rm -f $(OBJS)