fixes for parser testing framework

This commit is contained in:
Ron Pedde 2006-08-20 03:46:10 +00:00
parent f2b766bc3b
commit 2f2dd3908c
2 changed files with 3 additions and 2 deletions

View File

@ -15,6 +15,7 @@
#include "daapd.h"
CONFIG config;
char *scan_winamp_genre[] = { NULL };
void usage(void) {
printf("Usage:\n\n parser [-t <type (0/1)>] [-d <debug level>] \"phrase\"\n\n");

View File

@ -1,8 +1,8 @@
CC=gcc
CFLAGS := $(CFLAGS) -g -I/opt/local/include -DHAVE_CONFIG_H -I. -I.. -Wall -DHAVE_SQL -no-cpp-precomp -DMAC -DHOST='"argh"'
LDFLAGS := $(LDFLAGS) -L/opt/local/lib -lsqlite -lsqlite3
LDFLAGS := $(LDFLAGS) -L/opt/local/lib -lsqlite -lsqlite3 -lm -framework CoreFoundation
TARGET=parser
OBJECTS=parser-driver.o smart-parser.o err.o db-sql.o db-generic.o ssc.o db-sql-sqlite3.o db-sql-sqlite2.o conf.o ll.o xml-rpc.o webserver.o uici.o os-unix.o restart.o configfile.o rend-win32.o
OBJECTS=parser-driver.o smart-parser.o err.o db-sql.o db-generic.o db-sql-sqlite3.o db-sql-sqlite2.o conf.o ll.o xml-rpc.o webserver.o uici.o os-unix.o restart.o configfile.o rend-win32.o plugin.o db-sql-updates.o dispatch.o dynamic-art.o scan-aac.o
$(TARGET): $(OBJECTS)
$(CC) -o $(TARGET) $(LDFLAGS) $(OBJECTS)