summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--impl/Constant.h (renamed from Constant.h)0
-rw-r--r--impl/Equation.h (renamed from Equation.h)0
-rw-r--r--impl/EquationSystem.h (renamed from EquationSystem.h)0
-rw-r--r--impl/Expression.h (renamed from Expression.h)0
-rw-r--r--impl/Makefile8
-rw-r--r--impl/Max.h (renamed from Max.h)0
-rw-r--r--impl/Min.h (renamed from Min.h)0
-rw-r--r--impl/Sum.h (renamed from Sum.h)0
-rw-r--r--impl/Term.h (renamed from Term.h)0
-rw-r--r--impl/Variable.h (renamed from Variable.h)0
-rw-r--r--impl/main.cpp (renamed from main.cpp)0
12 files changed, 9 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 7fc71cc..2ee2ce8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/a.out
+/impl/build/*
diff --git a/Constant.h b/impl/Constant.h
index bab8cd9..bab8cd9 100644
--- a/Constant.h
+++ b/impl/Constant.h
diff --git a/Equation.h b/impl/Equation.h
index b861768..b861768 100644
--- a/Equation.h
+++ b/impl/Equation.h
diff --git a/EquationSystem.h b/impl/EquationSystem.h
index 9a393c8..9a393c8 100644
--- a/EquationSystem.h
+++ b/impl/EquationSystem.h
diff --git a/Expression.h b/impl/Expression.h
index 105ad28..105ad28 100644
--- a/Expression.h
+++ b/impl/Expression.h
diff --git a/impl/Makefile b/impl/Makefile
new file mode 100644
index 0000000..1d2eb4b
--- /dev/null
+++ b/impl/Makefile
@@ -0,0 +1,8 @@
+CC=g++
+BUILD=build/
+
+all: build-dir
+ $(CC) main.cpp -Wall -Werror -o $(BUILD)/main
+
+build-dir:
+ mkdir -p $(BUILD)
diff --git a/Max.h b/impl/Max.h
index b3b5d65..b3b5d65 100644
--- a/Max.h
+++ b/impl/Max.h
diff --git a/Min.h b/impl/Min.h
index 9f17545..9f17545 100644
--- a/Min.h
+++ b/impl/Min.h
diff --git a/Sum.h b/impl/Sum.h
index bf04669..bf04669 100644
--- a/Sum.h
+++ b/impl/Sum.h
diff --git a/Term.h b/impl/Term.h
index 8b13789..8b13789 100644
--- a/Term.h
+++ b/impl/Term.h
diff --git a/Variable.h b/impl/Variable.h
index 7433426..7433426 100644
--- a/Variable.h
+++ b/impl/Variable.h
diff --git a/main.cpp b/impl/main.cpp
index 814a3ee..814a3ee 100644
--- a/main.cpp
+++ b/impl/main.cpp