summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoretheisen <etheisen@openbsd.org>1996-09-25 04:54:21 +0000
committeretheisen <etheisen@openbsd.org>1996-09-25 04:54:21 +0000
commit4cc855d3d2e6d5fe267d140be022abd7f9067fe2 (patch)
tree9b2e7c43390ccf51675d8e435c7b3debf2f5794c
parentMake crunchgen work with Makefile.bsd-wrapper as well. (diff)
downloadwireguard-openbsd-4cc855d3d2e6d5fe267d140be022abd7f9067fe2.tar.xz
wireguard-openbsd-4cc855d3d2e6d5fe267d140be022abd7f9067fe2.zip
Always try Makefile.bsd-wrapper first. Remove debug.
-rw-r--r--distrib/crunch/crunchgen/crunchgen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/distrib/crunch/crunchgen/crunchgen.c b/distrib/crunch/crunchgen/crunchgen.c
index 9f8e76ee916..a181fda29d5 100644
--- a/distrib/crunch/crunchgen/crunchgen.c
+++ b/distrib/crunch/crunchgen/crunchgen.c
@@ -478,8 +478,8 @@ void fillin_program(prog_t *p)
strlst_t *s;
int i;
char *mf_name[] = {
- "Makefile",
"Makefile.bsd-wrapper",
+ "Makefile",
NULL
};
@@ -514,7 +514,6 @@ void fillin_program(prog_t *p)
if (p->srcdir && !p->objs) {
for (i = 0; mf_name[i] != NULL; i++) {
sprintf(path, "%s/%s", p->srcdir, mf_name[i]);
- printf("*** Trying to find %s\n", path);
if (is_nonempty_file(path)) {
fillin_program_objs(p, path);
break;