This repository has been archived on 2025-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
brwsh/makefile
2021-11-11 17:22:17 +01:00

16 lines
277 B
Makefile

CC ?= gcc
CFLAGS = -Wall -pedantic --std=c11 -O2
DBG_CFLAGS = -Wall -Werror -pedantic --std=c11 -O0 -g
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
FILES = get.c xalloc.c url.c
get: ${FILES}
dbg:
${CC} ${LDFLAGS} ${DBG_CFLAGS} ${FILES} -o get
clean:
rm -f get *.o