summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-25 03:47:44 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-25 03:47:44 (EST)
commita991b8c9a1a0019ef1a36bbec49c29827a3c57a2 (patch)
tree4024d15aff81bbf9335ddfb7eae15e2667ce281d /src
parentaa8b08354c087d5baaf904fffeeb5b0d074adb9e (diff)
Recurse into subdirectories in build system.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 2931f11..318b7c5 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -34,25 +34,25 @@ all: $(OBJS)
$(OBJS):
@printf ' SED %s\n' '$@'
- @sed -f sedscript $(SRCDIR)/src/$@ > src/$@
+ @sed -f ../sedscript $(SRCDIR)/src/$@ > $@
.PHONY: clean
clean:
- @ for obj in $(OBJS); do \
- printf ' RM src/%s\n' "\${obj}"; \
- rm -f src/\${obj}; \
- done
+ @for obj in $(OBJS); do \
+ printf ' RM src/%s\n' "$${obj}"; \
+ rm -f $${obj}; \
+ done
.PHONY: install
install: all
- @ for obj in $(OBJS); do \
- printf ' INSTALL src/%s\n' "\${obj}"; \
- $(INSTALL) -D src/\${obj} "$(DESTDIR)/$(BINDIR)"; \
- done
+ @for obj in $(OBJS); do \
+ printf ' INSTALL src/%s\n' "$${obj}"; \
+ $(INSTALL) -D $${obj} "$(DESTDIR)/$(BINDIR)/$${obj}"; \
+ done
.PHONY: uninstall
uninstall:
- @ for obj in $(OBJ); do \
- printf ' RM %s\n' "\${obj}"; \
- rm -f "$(DESTDIR)/$(BINDIR)/\${obj}"; \
- done
+ @for obj in $(OBJ); do \
+ printf ' RM %s\n' "$${obj}"; \
+ rm -f "$(DESTDIR)/$(BINDIR)/$${obj}"; \
+ done