Initial
This commit is contained in:
commit
0abe31abf0
4 changed files with 15 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
lab.db
|
0
001.sql
Normal file
0
001.sql
Normal file
0
002.sql
Normal file
0
002.sql
Normal file
14
makefile
Normal file
14
makefile
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
DB_NAME := lab.db
|
||||||
|
SQL_FILES := 001.sql 002.sql
|
||||||
|
|
||||||
|
.PHONY: all clean
|
||||||
|
|
||||||
|
all: $(SQL_FILES:.sql=.db)
|
||||||
|
|
||||||
|
%.db: %.sql
|
||||||
|
sqlite3 $(DB_NAME) < $<
|
||||||
|
@echo ==============================
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(DB_NAME)
|
||||||
|
|
Loading…
Add table
Reference in a new issue