@z3ntu Oh, yes! Sorry, this year is a tough one and I'm quite absent from coding. I'm far from any computer right now, but I'll give it a shot between today late, 👍

@RoboePi I'm sorry but this Makefile is horrible. Not directly YOUR Makefile but in general Makefiles... Make is doing whatever it wants to do...

@RoboePi Okay well half of it was my fault for copy pasting but still, Makefiles aren't really transparent in what they are doing imo

@z3ntu Yeah, I can understand that. I kind of like it now because of its file-based declarativeness, but had the same opinion before learning to "tame" it (and getting to know its limitations). You got a fair point there, though: it has a high entry barrier to collaboration… I'm open to other alternatives for the future if you know other lang-agnostic build tool.

@RoboePi I'm kind of in favor of the shell script that was there before the makefile... Other ideas are python (unnecessarily complicated probably) or a meson script (at least it has proper find_program statements or whatever - but also probably overkill and overcomplicated)


Hmm, I don't like the shell script, really. More: 

@z3ntu It downloads the update ZIPs each time, it's quite imperative and chronological (vs declarative and tree-based). I think that most of the issues we have with Make are caused because we use it directly, instead of relying on CMake or Automake, but I found those overcomplicated for such a small project. Anyway, this is definitely a conversation we can have. Do you want to open an issue? Also, I think PR#6 is relevant: github.com/WeAreFairphone/mode

· · Web · 1 · 0 · 0

@RoboePi about it downloading the zip every time: that is solved by a simple if. And I'm pretty sure using a proper build system for basically just calling shell command is completely unnecessary and way too complicated (same with eg a python script).

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!