1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
CFLAGS += -std=c99 -Wall -Wextra -Wpedantic -include config.mk OBJS += daemon.o all: spawn spawnd spawnd: ${OBJS} ${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@ ${OBJS}: daemon.h clean: rm -f spawn spawnd ${OBJS}