summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 0da8d7db91332dfde5b345c0b2e06ae6cc65bda2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ifneq (${GPIO},)
  CFLAGS+=-DGPIO=${GPIO}
endif

pingid:pingid.o
	${CC} ${CFLAGS} ${LDFLAGS} -o $@ $< ${LIBS}

clean:
	/bin/rm -f pingid.o *~ pingid *.orig

install:
	mkdir -p ${DESTDIR}/usr/bin/
	install -m 755 pingid ${DESTDIR}/usr/bin/