Initial
This commit is contained in:
commit
b78faac32a
4 changed files with 1407 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
lab.db
|
1
lab1.sql
Normal file
1
lab1.sql
Normal file
|
@ -0,0 +1 @@
|
||||||
|
SELECT * FROM Courses;
|
13
makefile
Normal file
13
makefile
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
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)
|
||||||
|
|
Loading…
Reference in a new issue