mirror of
https://github.com/fooflington/wordsearch.git
synced 2025-01-22 09:19:55 +00:00
makefile
This commit is contained in:
parent
3fdd9c33ba
commit
87577944fb
32
Makefile
Normal file
32
Makefile
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
JAVA = /usr/bin/java
|
||||||
|
# JAVAFLAGS = -version # -classpath $(LIBS)
|
||||||
|
JAVAC = /usr/bin/javac
|
||||||
|
JFLAGS = -g # -classpath $(LIBS)
|
||||||
|
|
||||||
|
SRCS = uk/org/mafoo/wordsearch/CouldNotPlaceWordException.java \
|
||||||
|
uk/org/mafoo/wordsearch/Bounds.java \
|
||||||
|
uk/org/mafoo/wordsearch/GridFactory.java \
|
||||||
|
uk/org/mafoo/wordsearch/DistributedRandomNumberGenerator.java \
|
||||||
|
uk/org/mafoo/wordsearch/Direction.java
|
||||||
|
|
||||||
|
JSPS = $(wildcard war/*.jsp war/*.css)
|
||||||
|
|
||||||
|
OBJS = ${SRCS:.java=.class}
|
||||||
|
|
||||||
|
.SUFFIXES: .java .class
|
||||||
|
|
||||||
|
.PHONY: default clean
|
||||||
|
default: wordsearch.war
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(OBJS) wordsearch.jar wordsearch.war
|
||||||
|
|
||||||
|
.java.class:
|
||||||
|
$(JAVAC) $(JFLAGS) $<
|
||||||
|
|
||||||
|
wordsearch.jar: $(OBJS)
|
||||||
|
jar cf $@ $(OBJS)
|
||||||
|
|
||||||
|
wordsearch.war: wordsearch.jar
|
||||||
|
cp -f wordsearch.jar war/lib
|
||||||
|
jar -c -f $@ -C war .
|
@ -1,5 +1,5 @@
|
|||||||
body {
|
body {
|
||||||
font-family: sans-serif;
|
font-family: 'Roboto', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tooltip {
|
.tooltip {
|
||||||
@ -14,8 +14,8 @@ table, th, td {
|
|||||||
}
|
}
|
||||||
|
|
||||||
table#grid td {
|
table#grid td {
|
||||||
font-family: monospace;
|
font-family: 'Fira Mono', monospace;
|
||||||
font-size: 22px;
|
font-size: 14pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wrapper {
|
#wrapper {
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>Wordsearch builder</title>
|
<title>Wordsearch builder</title>
|
||||||
<link rel="stylesheet" type="text/css" href="base.css" />
|
<link rel="stylesheet" type="text/css" href="base.css" />
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500&family=Roboto:wght@500&display=swap" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<%@ page import="uk.org.mafoo.wordsearch.*" %>
|
<%@ page import="uk.org.mafoo.wordsearch.*" %>
|
||||||
<%@ page import="java.util.*" %>
|
<%@ page import="java.util.*" %>
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>Wordsearch Builder</title>
|
<title>Wordsearch Builder</title>
|
||||||
<link rel="stylesheet" type="text/css" href="base.css" />
|
<link rel="stylesheet" type="text/css" href="base.css" />
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500&family=Roboto:wght@500&display=swap" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Wordsearch Builder</h1>
|
<h1>Wordsearch Builder</h1>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user