diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ddb999a --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +cpp_src += $(wildcard *.cpp) +#cpp_src += $(wildcard ./communication/i2c/*.cpp) + +#c_src += $(wildcard ./algorithms/*.c) + +cpp_obj = $(cpp_src:.cpp=.o) +c_obj = $(c_src:.c=.o) +CC = g++ +CFLAGS = -Wall -pedantic -li2c +LDFLAGS = +EXEC = runtest + + +all : $(EXEC) + +$(EXEC): $(cpp_obj) $(c_obj) + $(CC) -o $@ $^ $(LDFLAGS) + +clean: + rm -rf $(c_obj) $(cpp_obj) $(EXEC) + +cleanall: + rm -rf $(c_obj) $(cpp_obj) $(EXEC) diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..7087a1e --- /dev/null +++ b/main.cpp @@ -0,0 +1,20 @@ +/* + * Authors : Kerem Yollu, Edwin Koch + * Date : 08.08.21 + * Version : 0.1 + * License : MIT-0 + * + * Description : Entry to project + * + * TODO : ALL + * + */ + +#include "main.hpp" + +int main(int argc, char *argv[]) +{ + std::cout << "Main Begin" << std::endl; + std::cout << "Main End" << std::endl; + return 1; +} diff --git a/main.hpp b/main.hpp new file mode 100644 index 0000000..b5423ed --- /dev/null +++ b/main.hpp @@ -0,0 +1,9 @@ +#ifndef __MAIN_HPP__ +#define __MAIN_HPP__ + +#include +#include +#include + +#endif // __MAIN_HPP__ + diff --git a/runtest b/runtest new file mode 100755 index 0000000..031a5b8 Binary files /dev/null and b/runtest differ