]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/metadata/create_V7_mowgli/METADATA/Makefile
New version for the new DTD.
[helm.git] / helm / metadata / create_V7_mowgli / METADATA / Makefile
diff --git a/helm/metadata/create_V7_mowgli/METADATA/Makefile b/helm/metadata/create_V7_mowgli/METADATA/Makefile
new file mode 100644 (file)
index 0000000..cb7d5d7
--- /dev/null
@@ -0,0 +1,30 @@
+CC = gcc
+
+all: meta meta_ind
+
+meta: lex.yy.o sthandler.o
+       gcc lex.yy.o sthandler.o -o meta
+
+meta_ind: lex.yy_ind.o sthandler_ind.o
+       gcc lex.yy_ind.o sthandler_ind.o -o meta_ind
+
+lex.yy.c: meta_lex.l sthandler.h
+       flex meta_lex.l 
+
+lex.yy_ind.c: meta_lex_ind.l sthandler_ind.h
+       flex -olex.yy_ind.c meta_lex_ind.l 
+
+sthandler.o: sthandler.c sthandler.h
+
+sthandler.o: sthandler_ind.c sthandler_ind.h
+
+lex.yy.o: lex.yy.c sthandler.h
+       gcc -c lex.yy.c 
+
+lex.yy_ind.o: lex.yy_ind.c sthandler_ind.h
+       gcc -c lex.yy_ind.c 
+
+clean:
+       -rm *.o 
+       -rm lex.yy.c lex.yy_ind.c
+       -rm meta meta_ind