by tcfhgj · 1y ago · 0 comments
I like that I can just add a dependency and be done instead of having to deal with dependencies which require downloading stuff from the internet and making them discoverable for the project specific tool chain - which works differently on every operating system.
Same goes for compiling other projects.
CC=clang
MODULES=glib-2.0 atk
CFLAGS=-g -Wall -pedantic --std=c17 `pkg-config --cflags $(MODULES)`
LDLIBS=`pkg-config --libs $(MODULES)`
ALL: myapp
myapp: myapp.c utils.c io.cI wholly blame developers who are too eager to just pull new dependencies in when they could've just written 7 lines themselves.