summaryrefslogtreecommitdiff
path: root/include/makeinclude/rules.bin.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/rules.bin.GNU')
-rw-r--r--include/makeinclude/rules.bin.GNU12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/makeinclude/rules.bin.GNU b/include/makeinclude/rules.bin.GNU
new file mode 100644
index 00000000000..b546c9d43af
--- /dev/null
+++ b/include/makeinclude/rules.bin.GNU
@@ -0,0 +1,12 @@
+#----------------------------------------------------------------------------
+# @(#)rules.bin.GNU 1.1 10/18/96
+#
+# Build binaries
+# GNU version
+# Requires GNU make
+#----------------------------------------------------------------------------
+
+VBIN = $(BIN:%=%$(VAR))
+
+$(BIN): %: $(VDIR)%.o $(VSHOBJS)
+ $(LINK.cc) -o $@ $< $(LDFLAGS) $(VLDLIBS)