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}