Revision 260
Added by Aaron Marcuse-Kubitza about 13 years ago
inputs_Makefile | ||
---|---|---|
21 | 21 |
|
22 | 22 |
ifdef db |
23 | 23 |
|
24 |
ifndef dbEngine |
|
25 |
$(error dbEngine variable must be set. Possible values: MySQL, PostgreSQL) |
|
26 |
endif |
|
27 |
|
|
24 | 28 |
all = db.sh |
25 | 29 |
|
26 | 30 |
all: _not_file $(all) |
27 | 31 |
|
28 |
dbEngine ?= MySQL |
|
29 |
|
|
30 | 32 |
db.sh: |
31 | 33 |
echo 'engine=$(dbEngine) database=$(db)' >$@ |
32 | 34 |
|
Also available in: Unified diff
inputs_Makefile: Require dbEngine var instead of defaulting to MySQL