Sigrid Solveig HaflínudóttirMakefile: make it work with BSD make as well56b1d634 years agoHistory
55 lines · 934 B · Makefile
RawDownload
TARG=9pfsDESTDIR?=PREFIX?=/usr/localBIN=${DESTDIR}${PREFIX}/binMAN=${DESTDIR}${PREFIX}/share/man/man1FUSE_CFLAGS!=pkg-config --cflags fuseFUSE_LDFLAGS!=pkg-config --libs fuseCFLAGS?=-O2 -pipe -g -WallCFLAGS+=-D_FILE_OFFSET_BITS=64\	-DFUSE_USE_VERSION=26\	-D_GNU_SOURCE\	${FUSE_CFLAGS}LDFLAGS?=LDFLAGS+=${FUSE_LDFLAGS} OBJS=\	9p.o\	util.o\	lib/strecpy.o\	lib/convD2M.o\	lib/convM2D.o\	lib/convM2S.o\	lib/convS2M.o\	lib/read9pmsg.o\	lib/readn.o\	lib/auth_proxy.o\	lib/auth_rpc.o\	lib/auth_getkey.o\	${TARG}.o\ .PHONY: all default install uninstall clean all: default default: ${TARG} install: ${TARG} ${TARG}.1	install -d ${BIN}	install -m 755 ${TARG} ${BIN}	install -d ${MAN}	install -m 644 ${TARG}.1 ${MAN} uninstall:	rm -f ${BIN}/${TARG}	rm -f ${MAN}/${TARG}.1 ${TARG}: ${OBJS}	${CC} -o $@ ${OBJS} ${LDFLAGS} .SUFFIXES: .c .o.c.o:	${CC} -o $@ -c $< ${CFLAGS} clean:	rm -f ${TARG} ${OBJS}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t