You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
brwsh/makefile

16 lines
277 B

3 years ago
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