projects
/
cdsspec-compiler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
notes/register-example/Makefile
@@ -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