summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-11-15 12:01:18 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-11-15 12:01:18 +0000
commit425be79c974896363e829e2a9a7798690fd36635 (patch)
tree43758b0bec81381bf8f297ebdfdc1a9c7e9f2044 /helpers
parent3095108dfa21b963e1236af63180c33b53bb9905 (diff)
downloadlibapr-425be79c974896363e829e2a9a7798690fd36635.tar.gz
This is the initial, gcc-only, script to build makefile
dependencies. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60729 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/mkdep.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/mkdep.sh b/helpers/mkdep.sh
new file mode 100755
index 000000000..d2a586797
--- /dev/null
+++ b/helpers/mkdep.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+cp Makefile Makefile.bak \
+ && sed -ne '1,/^# DO NOT REMOVE/p' Makefile > Makefile.new \
+ && gcc -MM $* >> Makefile.new \
+ && mv Makefile.new Makefile