aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/mod.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-01 19:48:13 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-01 19:48:13 -0600
commitdfe0b3fa77d7a448b4fd3286867bf1b9c4adfc74 (patch)
treeb77ef54f5e7ae83cbbdabfd2c23192dd817b40cc /src/makefile/mod.rs
parentf1beff707ab2b47ddb6e0c9ec972b844cf6d5510 (diff)
downloadmakers-dfe0b3fa77d7a448b4fd3286867bf1b9c4adfc74.tar.gz
makers-dfe0b3fa77d7a448b4fd3286867bf1b9c4adfc74.zip
for the record, shit is fucked right here
Diffstat (limited to 'src/makefile/mod.rs')
-rw-r--r--src/makefile/mod.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs
index 00c5051..c118eb9 100644
--- a/src/makefile/mod.rs
+++ b/src/makefile/mod.rs
@@ -714,10 +714,13 @@ mod test {
#[test]
fn basic_conditionals() -> R {
let file = "
-ifeq (1,1)
+ifneq (,$(foo bar, $(baz)))
+else ifeq (1,1)
worked = yes
else ifeq (2,2)
worked = no
+else
+worked = perhaps
endif
";
let args = Args::empty();