aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/mod.rs
AgeCommit message (Collapse)AuthorLines
2021-04-05set `CURDIR`Melody Horn-0/+8
2021-04-05set `MAKECMDGOALS`Melody Horn-0/+10
2021-04-04prevent circular inference chainsMelody Horn-19/+15
2021-04-04print built-in inference rules too, just laterMelody Horn-1/+5
2021-04-04no thoughts. head emptyMelody Horn-5/+33
2021-04-04keep track of pattern stem to correctly populate `$*`Melody Horn-9/+18
2021-04-04prevent rule reuse in inference chainsMelody Horn-71/+94
2021-04-04logging!Melody Horn-0/+7
2021-04-04fix $< so it's only one fileMelody Horn-1/+2
2021-04-03deprioritize builtin inference rulesMelody Horn-1/+4
2021-04-03only allow inferred prereq targets if they already existedMelody Horn-1/+3
2021-04-03do not infinitely recurse everMelody Horn-1/+15
2021-04-03enable pattern matching on POSIX since we're using that now for suffix rulesMelody Horn-1/+0
2021-04-03implement GNUish '%'-based inference rulesMelody Horn-25/+37
2021-04-03correctly inherit macrosMelody Horn-2/+3
2021-04-03correctly handle conditional lines inside rule bodyMelody Horn-1/+128
2021-04-02refactor makefile reading into a separate moduleMelody Horn-614/+5
2021-04-02add helper function for empty tokenstringMelody Horn-1/+1
2021-04-02don't skip over endif while waiting for endif oopsMelody Horn-10/+11
2021-04-02don't leave dbg! in there oopsMelody Horn-2/+0
2021-04-02implement define blocksMelody Horn-6/+58
2021-04-02hide gnuist assignment operators behind featureMelody Horn-0/+2
2021-04-02give target name in error messageMelody Horn-1/+1
2021-04-02ignore macro-expanded-to-empty linesMelody Horn-5/+7
2021-04-02fucking := operator ruining my line-type detectionMelody Horn-1/+7
2021-04-02try expanding an unknown line firstMelody Horn-1/+10
2021-04-01put extensions behind a featureMelody Horn-4/+15
2021-04-01and here i thought alt() would do backtracking on its ownMelody Horn-2/+1
2021-04-01for the record, shit is fucked right hereMelody Horn-1/+4
2021-04-01don't double-peekable the iterator smdhMelody Horn-2/+2
2021-04-01slightly fancier errorsMelody Horn-16/+20
2021-03-31awolnation voice BAILMelody Horn-5/+7
2021-03-31avoid redundancyMelody Horn-2/+2
2021-03-31issuing correction on a previous post of mine, regarding pub(crate)Melody Horn-7/+7
2021-03-31"im not owned! im not owned!!", i continue to insist as i allocate and ↵Melody Horn-2/+2
transform into a String https://twitter.com/dril_rs/status/1035032121860009984
2021-03-31fix the tests oopsMelody Horn-6/+10
2021-03-31expand pedantry levelMelody Horn-1/+1
2021-03-31massively upgrade error handlingMelody Horn-52/+81
2021-03-28fix the unbounded type recursion (thanks @Lucretiel!)Melody Horn-2/+2
2021-03-28almost finish implementing functionsMelody Horn-5/+3
2021-03-28almost implement all functionsMelody Horn-178/+128
2021-03-28lay down boilerplate for function callsMelody Horn-0/+4
of all the obnoxious GNUisms, this will probably wind up being the largest. especially if huge makefiles (e.g. Linux) use most of the functions that GNU offers, meaning we have to implement most of them to be Linuxable
2021-03-28add (& somewhat test!) GNUful conditionalsMelody Horn-0/+54
2021-03-27split up read into several sub-methodsMelody Horn-210/+219
2021-03-27a couple more little thingsMelody Horn-2/+3
2021-03-27juggle declarations so clippy shuts upMelody Horn-3/+3
2021-03-27don't all-caps MAKEFLAGSMelody Horn-3/+3
2021-03-27why `pub` when you can `pub(crate)`?Melody Horn-7/+7
2021-03-27don't builder when we don't need to builderMelody Horn-4/+3
2021-03-27refactor makefile elements into submodulesMelody Horn-187/+7