libc3: Make & config tweaks
[simavr] / examples / shared / libc3 / src / c3config.h
index 4457994..4732b3f 100644 (file)
@@ -1,5 +1,33 @@
-#ifndef __C3_CONFIG__
-#define __C3_CONFIG__
-#define CONFIG_C3_VERSION "0.1.0"
-#define CONFIG_C3_CAIRO 1
+/*
+       c3config.h
+
+       Copyright 2008-2012 Michel Pollet <buserror@gmail.com>
+
+       This file is part of libc3.
+
+       libc3 is free software: you can redistribute it and/or modify
+       it under the terms of the GNU General Public License as published by
+       the Free Software Foundation, either version 3 of the License, or
+       (at your option) any later version.
+
+       libc3 is distributed in the hope that it will be useful,
+       but WITHOUT ANY WARRANTY; without even the implied warranty of
+       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+       GNU General Public License for more details.
+
+       You should have received a copy of the GNU General Public License
+       along with libc3.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __C3_CONFIG_MAIN_H_
+#define __C3_CONFIG_MAIN_H_
+
+#if __APPLE__
+#include  "c3config-darwin.h"
+#elif __linux__
+#include  "c3config-linux.h"
+#else
+#error No target platform detected, tweak the makefile
 #endif
+
+#endif // __C3_CONFIG_MAIN_H_