Commits

Alexander Dahl committed 296adc2

initial

Comments (0)

Files changed (5)

+syntax: glob
+
+# folders
+build
+
+# tmp files
+**.swp
+# directories
+SRC=src
+DEST=build
+DOC=doc
+NAME=embedded-cli-demo
+
+# compiler settings
+CC=colorgcc -O2 -Wall -ansi -pedantic
+
+# dependencies
+
+#main targets
+all: main
+
+doc:
+	doxygen
+
+clean:
+	rm -fr ${DEST}  
+	rm -fr ${DOC}
+	
+# sub targets
+mkdir:
+	mkdir -p ${DEST}
+
+main: mkdir
+	${CC} -o ${DEST}/${NAME} ${SRC}/main.c ${SRC}/cmd.c
+#include "cmd.h"
+#ifndef _CMD_H_
+#define _CMD_H_
+
+#endif
+#include <stdlib.h>
+#include "cmd.h"
+
+int main( int argc, char * argv[] ) {
+
+    return EXIT_SUCCESS;
+}