Debian Codegraph @

doc/examples/overlaps/files/hello/Makefile

raw
1 # Sample makefile for hello.c
2 #
3 .PHONY: all install
4
5 all: hello
6
7 install:
8 install -d ${DESTDIR}${PREFIX}/bin
9 install -d ${DESTDIR}${PREFIX}/share/doc
10 install -m 755 hello ${DESTDIR}${PREFIX}/bin
11 install -m 644 hello.txt ${DESTDIR}${PREFIX}/share/doc
12
13 hello: hello.c
14 $(CC) $< -o $@ -Wall -lhello