Meichel Cyrille 10 years ago
parent
commit
043b571d4d
3 changed files with 27 additions and 1 deletions
  1. 2 1
      .gitignore
  2. 13 0
      emit/test/Makefile
  3. 12 0
      emit/test/test.c

+ 2 - 1
.gitignore

@@ -1,5 +1,6 @@
-listen/*.o
+**.o
 listen/listen
 listen/*.txt
 emit/*.o
 emit/emit
+emit/test/test

+ 13 - 0
emit/test/Makefile

@@ -0,0 +1,13 @@
+all : test
+
+test : test.o emitlib.o
+	gcc -o test test.o emitlib.o
+
+test.o : test.c
+	gcc -c test.c -o test.o
+
+emitlib.o : emitlib.c emitlib.h
+	gcc -c ../emitlib.c -o emitlib.o
+
+clean:
+	rm -f test *.o

+ 12 - 0
emit/test/test.c

@@ -0,0 +1,12 @@
+#include <stdio.h>
+#include "../emitlib.h"
+
+
+
+
+
+int main()
+{
+    printf("Test\n");
+    return 0;
+}