14 lines
161 B
Makefile
14 lines
161 B
Makefile
|
DB_NAME := lab.db
|
||
|
SQL_FILES := init.sql lab1.sql
|
||
|
|
||
|
.PHONY: all clean
|
||
|
|
||
|
all: $(SQL_FILES:.sql=.db)
|
||
|
|
||
|
%.db: %.sql
|
||
|
sqlite3 $(DB_NAME) < $<
|
||
|
|
||
|
clean:
|
||
|
rm -f $(DB_NAME)
|
||
|
|