Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 317 Bytes
INCS = -I/usr/include/blkid
CC ?= cc
CPPFLAGS +=
CFLAGS += -std=c99 -Wall -pedantic -Wextra ${CPPFLAGS} ${INCS}
LDFLAGS := -lblkid ${LDFLAGS}
all: init
.c.o: init.c
${CC} $< -c ${CFLAGS} ${CPPFLAGS}
init: init.o
${CC} -o $@ ${LDFLAGS} $<
strip: init
strip --strip-all init
clean:
${RM} init init.o