edits
[cdsspec-compiler.git] / notes / register-example / Makefile
diff --git a/notes/register-example/Makefile b/notes/register-example/Makefile
new file mode 100644 (file)
index 0000000..618b173
--- /dev/null
@@ -0,0 +1,12 @@
+include ../benchmarks.mk
+
+TESTNAME = register
+all: $(TESTNAME)
+
+CFLAGS := $(CFLAGS) --std=c++11
+
+$(TESTNAME): $(TESTNAME).cc $(TESTNAME).h
+       $(CXX) -o $@ $< $(CFLAGS) $(LDFLAGS)
+
+clean:
+       rm -f $(TESTNAME) *.o