Makefile
changeset 4 5701b7859a31
parent 2 8c88756f81b0
child 6 85718bc3ff47
--- a/Makefile	Tue Sep 13 22:16:11 2011 -0700
+++ b/Makefile	Wed Sep 14 16:49:28 2011 -0700
@@ -1,10 +1,10 @@
 
 CFLAGS       = -O2
-CFLAGS_DEBUG = -Wall -L /usr/lib -L /opt/local/lib -DDEBUG -DPROG='"volta (debugmode)"'
+CFLAGS_DEBUG = -Wall -L /opt/local/lib -I /opt/local/include -DDEBUG -DPROG='"volta (debugmode)"'
 LIBS         = -lsqlite3
 LIBS_DEBUG   = -lprofiler  # requires proftools
 #OBJS         = $(patsubst %.c,%.o,$(wildcard *.c)) parser.o
-OBJS         = accept_loop.o database.o main.o parser.o util.o
+OBJS         = accept_loop.o db.o main.o parser.o util.o
 
 ########################################################################
 ### P R O D U C T I O N
@@ -52,7 +52,7 @@
 .PHONY : clean cleanall
 
 cleanall: clean
-	rm -f parser.c
+	rm -f parser.c volta.db
 
 clean:
 	-rm -f volta volta_debug* parser_graph.* *.o *.prof*