summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7813a81..deb4b75 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
-classes = $(patsubst %.java,%,$(notdir $(wildcard dslog/*.java)))
+all:
+ javac dslog/*.java
-all: $(foreach c,$(classes),dslog/$c.class)
+clean:
+ rm -f -- dslog/*.class
-%.class: %.java
- javac $<
+.PHONY: all clean