summaryrefslogtreecommitdiffstats
path: root/src/build/makefile
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-09-20 16:34:36 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-09-20 16:34:36 -0500
commit365cd29d695d853c8f4be97a9a97bfd37836bbe1 (patch)
tree6e7aeecb14e1348257f579eea488094d62d9943b /src/build/makefile
parent7dbf41357d6061170530601022c123eaf8fc2934 (diff)
downloadtalos-hostboot-365cd29d695d853c8f4be97a9a97bfd37836bbe1.tar.gz
talos-hostboot-365cd29d695d853c8f4be97a9a97bfd37836bbe1.zip
Change build structure to automatically create object directories as needed.
Diffstat (limited to 'src/build/makefile')
-rw-r--r--src/build/makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/build/makefile b/src/build/makefile
new file mode 100644
index 000000000..d80e2b533
--- /dev/null
+++ b/src/build/makefile
@@ -0,0 +1,7 @@
+linker: linker.C
+ g++ -O3 -g linker.C -o linker -lbfd -I../include/sys
+
+all: linker
+
+clean:
+ (rm -f linker)
OpenPOWER on IntegriCloud