aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/bruisertest/compile_commands.json7
-rw-r--r--test/bruisertest/makefile21
-rw-r--r--test/bruisertest/test.cpp21
3 files changed, 49 insertions, 0 deletions
diff --git a/test/bruisertest/compile_commands.json b/test/bruisertest/compile_commands.json
new file mode 100644
index 0000000..212a2c4
--- /dev/null
+++ b/test/bruisertest/compile_commands.json
@@ -0,0 +1,7 @@
+[
+ {
+ "command": "c++ -c -v -o test test.cpp",
+ "directory": "/home/bloodstalker/devi/hell2/test/bruisertest",
+ "file": "/home/bloodstalker/devi/hell2/test/bruisertest/test.cpp"
+ }
+] \ No newline at end of file
diff --git a/test/bruisertest/makefile b/test/bruisertest/makefile
new file mode 100644
index 0000000..cb237e4
--- /dev/null
+++ b/test/bruisertest/makefile
@@ -0,0 +1,21 @@
+include ../../macros.mk
+
+BRUISER_TEST=test
+
+.DEFAULT:all clean
+
+all:$(BRUISER_TEST)
+
+.cpp.o:
+ $(CXX) $(CXX_FLAGS) -c $< -o $@
+
+$(BRUISER_TEST): test.cpp
+ $(CXX) $^ $(LD_FLAGS) -o $@
+
+clean:
+ rm -f *.o *~ $(BRUISER_TEST)
+
+help:
+ @echo "the makfile for the bruiser test file."
+ @echo "there is the taget itself, all and clean."
+
diff --git a/test/bruisertest/test.cpp b/test/bruisertest/test.cpp
new file mode 100644
index 0000000..40bfb47
--- /dev/null
+++ b/test/bruisertest/test.cpp
@@ -0,0 +1,21 @@
+
+namespace devi
+{
+ class LOCO
+ {
+ public:
+ LOCO () {}
+
+ void lupo (void)
+ {
+ int a = 1;
+ int b = 2;
+ int c = 3;
+ }
+ };
+}
+
+int main(int argc, const char **argv)
+{
+
+}