Update of bug #39308 (project make): Status: None => Not A Bug Open/Closed: Open => Closed
_______________________________________________________ Follow-up Comment #1: The mailing lists are much better places to ask for help than the bug tracker. GNU make, like all versions of make, will only build the first target in the makefile by default. Here the first target is "main", so that's what make builds. If you want it to build both "main" and "lib" you'll have to either list them on the command line ("make main lib") or else add a target before the other targets that depends on them: the traditional target name for this is "all" but you can use whatever you like: all: main lib main lib: $$(patsubst %.c,%.o,$$($$@_OBJS)) @echo $($@_OBJS) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?39308> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make