mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
15 lines
235 B
Makefile
15 lines
235 B
Makefile
CC=gcc
|
|
CFLAGS=-W -Wall -pedantic -Wextra -g -O2
|
|
OBJS=main.o
|
|
LINKS=
|
|
|
|
%.o: %.c
|
|
${CC} ${CFLAGS} -c $< -o $@
|
|
all: munin-node-c
|
|
|
|
munin-node-c: ${OBJS}
|
|
${CC} ${CFLAGS} $^ -o $@
|
|
clean:
|
|
rm -f munin-node-c ${OBJS} ${LINKS}
|
|
.PHONY: all clean
|