# This file contains a make script for the Daguerrotype library
#
# Author: Josh McIntyre
#

# This block defines makefile variables
LIB_FILES=src/lib/daguerrotype.js src/lib/daguerrotypeConfig.js

BUILD_DIR=bin/daguerrotype

# This rule builds the library
build: $(LIB_FILES)
	mkdir -p $(BUILD_DIR)
	cp $(LIB_FILES) $(BUILD_DIR)

# This rule cleans the build directory
clean: $(BUILD_DIR)
	rm $(BUILD_DIR)/*
	rmdir $(BUILD_DIR)