Skip to content

Commit

Permalink
Invoke the sub-makes via $(MAKE), don't ignore their exit status
Browse files Browse the repository at this point in the history
CVS-ID: Makefile 1.18
  • Loading branch information
solardiz committed Nov 19, 2017
1 parent d82e17d commit 63a262f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2006,2008,2011 Solar Designer <solar at openwall.com>
# Copyright (c) 2006,2008,2011,2017 Solar Designer <solar at openwall.com>
# Copyright (c) 2014,2017 ABC <abc at openwall.com>
#
# Redistribution and use in source and binary forms, with or without
Expand All @@ -25,7 +25,7 @@ all: $(PROJ)
check: all tests
tests: test
test:
make -C tests
$(MAKE) -C tests

bindex: $(OBJS_BINDEX) $(OBJS_COMMON)
$(LD) $(LDFLAGS) $(OBJS_BINDEX) $(OBJS_COMMON) -o $@
Expand All @@ -51,4 +51,4 @@ md5/md5.o: md5/md5.c md5/md5.h

clean:
$(RM) $(PROJ) $(OBJS_BINDEX) $(OBJS_BIT) $(OBJS_COMMON)
-make -C tests clean
$(MAKE) -C tests clean

0 comments on commit 63a262f

Please sign in to comment.