logo

error-standalone

standalone <error.h> implementation intended for muslgit clone https://anongit.hacktivis.me/git/error-standalone.git/

Makefile (320B)


  1. # Copyright © 2024 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
  2. # SPDX-License-Identifier: MIT
  3. PREFIX ?= /usr
  4. all:
  5. test-error: test-error.c error.h
  6. ${CC} ${CFLAGS} -o test-error test-error.c ${LDFLAGS} ${LDSTATIC}
  7. install:
  8. mkdir -p ${DESTDIR}${PREFIX}/include
  9. cp error.h ${DESTDIR}${PREFIX}/include/error.h