moved q.h/q.c to ../lib
authorkramm <kramm>
Tue, 6 May 2003 11:42:17 +0000 (11:42 +0000)
committerkramm <kramm>
Tue, 6 May 2003 11:42:17 +0000 (11:42 +0000)
src/Makefile.in
src/parser.lex
src/swfc.c

index d3dadf5..191c13f 100644 (file)
@@ -23,12 +23,10 @@ swfstrings.o: swfstrings.c
        $(C) swfstrings.c -o $@
 jpeg2swf.o: jpeg2swf.c
        $(C) jpeg2swf.c -o $@
-swfc.o: swfc.c parser.h q.h
+swfc.o: swfc.c parser.h ../lib/q.h
        $(C) swfc.c -o $@
-parser.o: parser.yy.c parser.h q.h
+parser.o: parser.yy.c parser.h ../lib/q.h
        $(C) parser.yy.c -o $@
-q.o: q.c q.h
-       $(C) q.c -o $@
 
 # TODO: include the following rule only if lex is available
 parser.yy.c: parser.lex
@@ -55,8 +53,8 @@ swfstrings: swfstrings.o
 jpeg2swf: jpeg2swf.o
        $(L) jpeg2swf.o -o $@ ../lib/librfxswf.a $(LIBS)
        $(STRIP) jpeg2swf
-swfc: parser.o swfc.o q.o wav.o
-       $(L) parser.o swfc.o q.o wav.o -o $@ ../lib/librfxswf.a $(LIBS)
+swfc: parser.o swfc.o ../lib/q.o wav.o
+       $(L) parser.o swfc.o ../lib/q.o wav.o -o $@ ../lib/librfxswf.a $(LIBS)
        $(STRIP) swfc
 
 install:
index 4ccf2c0..d5d81d6 100644 (file)
@@ -3,7 +3,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include "q.h"
+#include "../lib/q.h"
 #include "parser.h"
 
 //RVALUE        {NUMBER}|{PERCENT}|{NAME}|\"{STRING}\"|{DIM}
index aa8fe6b..bdb631a 100644 (file)
@@ -20,7 +20,7 @@
 #include "../lib/rfxswf.h"
 #include "../lib/log.h"
 #include "../lib/args.h"
-#include "q.h"
+#include "../lib/q.h"
 #include "parser.h"
 #include "wav.h"