2024-01-24 17:40:07 +01:00
|
|
|
DB_NAME := lab.db
|
2024-01-25 21:17:11 +01:00
|
|
|
SQL_FILES := init.sql lab1.sql a.sql b.sql c.sql d.sql e.sql f.sql g.sql h.sql i.sql j.sql k.sql l.sql m.sql n.sql o.sql p.sql q.sql
|
2024-01-24 17:40:07 +01:00
|
|
|
|
|
|
|
.PHONY: all clean
|
|
|
|
|
|
|
|
all: $(SQL_FILES:.sql=.db)
|
|
|
|
|
|
|
|
%.db: %.sql
|
|
|
|
sqlite3 $(DB_NAME) < $<
|
2024-01-26 15:53:09 +01:00
|
|
|
@echo ==============================
|
2024-01-24 17:40:07 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(DB_NAME)
|
|
|
|
|