diff options
Diffstat (limited to 'doc/examples/strict-mode/files/hello/Makefile.static')
-rw-r--r-- | doc/examples/strict-mode/files/hello/Makefile.static | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/examples/strict-mode/files/hello/Makefile.static b/doc/examples/strict-mode/files/hello/Makefile.static new file mode 100644 index 000000000..87fb51206 --- /dev/null +++ b/doc/examples/strict-mode/files/hello/Makefile.static @@ -0,0 +1,12 @@ +# Sample makefile for hello.c +# +.PHONY: all install + +all: hello + +install: all + install -d ${DESTDIR}${PREFIX}/bin + install -m 755 hello ${DESTDIR}${PREFIX}/bin + +hello: hello.c + $(CC) -Wall -o $@ $< /usr/lib/libhello.a |