@@ -1,5 +1,6 @@
-listen/*.o
+**.o
listen/listen
listen/*.txt
emit/*.o
emit/emit
+emit/test/test
@@ -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
@@ -0,0 +1,12 @@
+#include <stdio.h>
+#include "../emitlib.h"
+int main()
+{
+ printf("Test\n");
+ return 0;
+}