mirror of
https://github.com/fooflington/wordbubbles.git
synced 2025-04-04 18:19:08 +00:00
31 lines
534 B
Makefile
31 lines
534 B
Makefile
JAVA = /usr/bin/java
|
|
# JAVAFLAGS = -version # -classpath $(LIBS)
|
|
JAVAC = /usr/bin/javac
|
|
JFLAGS = -g # -classpath $(LIBS)
|
|
|
|
SRCS = main.java \
|
|
uk/org/mafoo/wordbubbles/Cell.java \
|
|
uk/org/mafoo/wordbubbles/ImpossibleException.java \
|
|
uk/org/mafoo/wordbubbles/Lexicon.java \
|
|
uk/org/mafoo/wordbubbles/Prison.java
|
|
|
|
OBJS = ${SRCS:.java=.class}
|
|
|
|
.SUFFIXES: .java .class
|
|
|
|
all: build wordbubbles.jar
|
|
|
|
run: all
|
|
$(JAVA) main
|
|
|
|
.java.class:
|
|
$(JAVAC) $(JFLAGS) $<
|
|
|
|
build: $(OBJS)
|
|
|
|
clean:
|
|
rm -f $(OBJS)
|
|
|
|
wordbubbles.jar: build
|
|
jar cf $(OBJS)
|