Commit 1581d19b089c8416e3fc2e22e735168333a9a4f1

Authored by Grzegorz Jabłoński
1 parent 8e4ef5be

Added address-sanitizer example

examples01-pl/09-valgrind/makefile.address-sanitizer 0 → 100644
  1 +all: testvalgrind1 testvalgrind2
  2 +
  3 +testvalgrind1: testvalgrind1.c
  4 + gcc -g -fsanitize=undefined -Wall $< -o $@
  5 +
  6 +testvalgrind2: testvalgrind2.c
  7 + gcc -g -fsanitize=undefined -Wall $< -o $@
  8 +
  9 +.PHONY: clean
  10 +
  11 +clean:
  12 + -rm testvalgrind1 testvalgrind2
... ...