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 {
|
||||
font-family: sans-serif;
|
||||
body {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
@ -14,8 +14,8 @@ table, th, td {
|
||||
}
|
||||
|
||||
table#grid td {
|
||||
font-family: monospace;
|
||||
font-size: 22px;
|
||||
font-family: 'Fira Mono', monospace;
|
||||
font-size: 14pt;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
|
@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<title>Wordsearch builder</title>
|
||||
<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>
|
||||
<%@ page import="uk.org.mafoo.wordsearch.*" %>
|
||||
<%@ page import="java.util.*" %>
|
||||
|
@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<title>Wordsearch Builder</title>
|
||||
<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>
|
||||
<body>
|
||||
<h1>Wordsearch Builder</h1>
|
||||
|
Loading…
x
Reference in New Issue
Block a user