projects
/
experiments
/
inline-assembly.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove a stale comment
[experiments/inline-assembly.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
1e601a4
..
b350291
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-29,11
+29,15
@@
ifneq ($(CC),clang)
CFLAGS += -Wunsafe-loop-optimizations
endif
CFLAGS += -Wunsafe-loop-optimizations
endif
+EXECUTABLES := inline-asm-sum inline-asm-array-sum
-inline-asm-sum: inline-asm-sum.o
+all: $(EXECUTABLES)
clean:
clean:
- rm -f *~ *.o
inline-asm-sum
+ rm -f *~ *.o
$(EXECUTABLES)
-test: inline-asm-sum
- valgrind --leak-check=full --show-reachable=yes ./inline-asm-sum
+test: $(EXECUTABLES)
+ @for executable in $?; \
+ do \
+ valgrind --leak-check=full --show-reachable=yes ./$$executable; \
+ done