Sigrid Solveig Haflínudóttirqoisend55134ac3 years agoHistory
41 lines · 703 B · Makefile
RawDownload
TARG=qoirecvDESTDIR?=PREFIX?=/usr/localBIN=${DESTDIR}${PREFIX}/binMAN=${DESTDIR}${PREFIX}/share/man/man1SDL2_CFLAGS=$$(pkg-config --cflags sdl2)SDL2_LDFLAGS=$$(pkg-config --libs sdl2)CFLAGS?=-O2 -pipe -g -WallCFLAGS+=${SDL2_CFLAGS}LDFLAGS?=LDFLAGS+=${SDL2_LDFLAGS} OBJS=\	parg.o\	qoirecv.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