summaryrefslogtreecommitdiff
path: root/example/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'example/Makefile')
-rw-r--r--example/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/example/Makefile b/example/Makefile
index c96a553..0e50a44 100644
--- a/example/Makefile
+++ b/example/Makefile
@@ -1,8 +1,14 @@
CXXFLAGS+=-Wall -Werror -I../include
-.PHONY: all
+.PHONY: all clean
all: operators
+clean:
+ -rm operators
+ -rm operators.o
+
operators: CC=$(CXX)
operators: operators.o
+
+operators.o: operators.cc ../include/dwu/operators Makefile