16 lines
215 B
Makefile
16 lines
215 B
Makefile
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}
|