blob: 21471d40f0636df7f71fa88a05e735c3c8bc47fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# Sample makefile for hello.c
#
.PHONY: all install
all: hello
install:
install -d ${DESTDIR}${PREFIX}/bin
install -m 755 hello ${DESTDIR}${PREFIX}/bin
hello: hello.c
$(CC) $< -o $@ -Wall -lhello
|