aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:43:03 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:43:03 +0200
commit15545f41f0a2d4cd287a62a896920cc4a9fc5b27 (patch)
tree9bdceaadc3050deae42d6f9a396b0cf964e1728c /Makefile
parentfix x key bug (diff)
downloadrotation3d-15545f41f0a2d4cd287a62a896920cc4a9fc5b27.tar.gz
rotation3d-15545f41f0a2d4cd287a62a896920cc4a9fc5b27.tar.bz2
rotation3d-15545f41f0a2d4cd287a62a896920cc4a9fc5b27.tar.xz
Improve makefile + m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7e724d6..84e531d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,17 @@
+.POSIX:
+
JAVAC = javac
-.PHONY: all
-all:
+SRC =\
+ srv/v/D3.java\
+ srv/v/VMaths.java
+
+
+all: $(SRC)
@mkdir -p bin
$(JAVAC) -cp src -s src -d bin src/v/D3.java
-
-.PHONY: clean
clean:
- -rm -r bin
+ -rm -r -- bin
+.PHONY: all clean