# Makefile for NetLogger 'actions' directory

DB := tempdb.sqlite
LOADER := nl_loader
ACTIONS := nl_actions

default: init run

# Load database with 2 months of (fake) data
init:
	./create_data > tempdata.log
	$(LOADER) -u sqlite://$(DB) -D < tempdata.log
run:
	$(ACTIONS) -v -v