summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--Makefile6
-rw-r--r--cpp/Makefile6
-rw-r--r--cpp/checksum.cpp8
-rw-r--r--lswf.cpp (renamed from cpp/lswf.cpp)0
5 files changed, 7 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml
index bbba71c..d3e104c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,4 +9,4 @@ install:
- sudo apt-get install -qq g++-4.8
- export CXX="g++-4.8"
-script: $(CXX) -std=c++11 -o cpp/somme cpp/somme.cpp
+script: make lswf
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..74db46d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,6 @@
+CC=g++
+CFLAGS=-o
+CVERSION=c++11
+
+$1: $1.cpp
+ $(CC) -Wall -std=$(CVERSION) $(CFLAGS) cpp/$1 cpp/$1.cpp
diff --git a/cpp/Makefile b/cpp/Makefile
deleted file mode 100644
index ad5e8f5..0000000
--- a/cpp/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-CC=g++
-CFLAGS=-o
-CVERSION=c++11
-
-$1: $1.cpp
- $(CC) -Wall -std=$(CVERSION) $(CFLAGS) $1 $1.cpp
diff --git a/cpp/checksum.cpp b/cpp/checksum.cpp
deleted file mode 100644
index e80398f..0000000
--- a/cpp/checksum.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-#include <iostream>
-#include <fstream>
-
-int main()
-{
-
- return 0;
-}
diff --git a/cpp/lswf.cpp b/lswf.cpp
index dcf1b13..dcf1b13 100644
--- a/cpp/lswf.cpp
+++ b/lswf.cpp