Compile static library with Makefile: Revision history

From AcrodusWiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 February 2025

  • curprev 20:1220:12, 4 February 2025Alex talk contribs 487 bytes +487 Created page with "Makefile example for compiling static library with dependencies in C. <pre> # Library: libgenisys # File: Makefile # Author: Alexander Brown # # NO LICENSE # BINDIR = bin/ OBJDIR = obj/ INCDIR = include/ SRCDIR = src/ CC = gcc RM = /bin/rm -f SOURCE = grail.c OBJECT = grail.o all: ${CC} `pkg-config --cflags cairo pangocairo` -o ${OBJDIR}${OBJECT} -c ${SRCDIR}${SOURCE} `pkg-config --libs cairo pangocairo` clean: ${RM} ${BINDIR}* ${RM} ${OBJ..."