Sigrid Solveig Haflínudóttirupdate for newest c9c66e91c2 years agoHistory
34 lines · 613 B · Makefile
RawDownload
PROGS=9pex 9gcPREFIX?=/usr/localBIN=${DESTDIR}${PREFIX}/binCFLAGS?=-g -O2CFLAGS+=-std=c99 -Wall -Wextra -Wshadow -Ic9/include -IpargPEX_O=9pex.o crc32.oGC_O=9gc.oCOMMON_O=c9/proto.o parg/parg.o all: default default: 9pex 9gc 9pex: ${COMMON_O} ${PEX_O}	${CC} -o $@ ${COMMON_O} ${PEX_O} 9gc: ${COMMON_O} ${GC_O}	${CC} -o $@ ${COMMON_O} ${GC_O} install: all	install -d ${BIN}	install -m 755 ${PROGS} ${BIN} uninstall:	cd ${BIN} && rm -f ${TARGET} clean:	rm -f ${PROGS} ${COMMON_O} ${PEX_O} ${GC_O} .SUFFIXES: .c .o.c.o:	${CC} -o $@ -c $< ${CFLAGS} .PHONY: all default install uninstall clean

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