Commits

Takayuki KONDO committed c49aabe

c: flymake-mode サンプル追加

Comments (0)

Files changed (2)

+check-syntax:
+	gcc -Wall -Wextra -pedantic -fsyntax-only $(CHK_SOURCES)
+#include <stdio.h>
+
+void hello(const char *msg)
+{
+	printf("Hello, %s\n", msg);	
+}
+
+int main(int argc, char *argv[])
+{
+	hello(argv[1]);
+	return 0;
+}