]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: define _GNU_SOURCE for qa helpers; add btrfs dir makefile
authorSage Weil <sage.weil@dreamhost.com>
Tue, 23 Aug 2011 04:18:00 +0000 (21:18 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Tue, 23 Aug 2011 04:18:00 +0000 (21:18 -0700)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
qa/btrfs/Makefile [new file with mode: 0644]
qa/workunits/direct_io/Makefile

diff --git a/qa/btrfs/Makefile b/qa/btrfs/Makefile
new file mode 100644 (file)
index 0000000..8e82d30
--- /dev/null
@@ -0,0 +1,11 @@
+CFLAGS = -Wall -Wextra -D_GNU_SOURCE
+
+TARGETS = clone_range
+
+.c:
+       $(CC) $(CFLAGS) $@.c -o $@
+
+all:   $(TARGETS)
+
+clean:
+       rm $(TARGETS)
index 637b8d9046a2c206625bc15462ec99229e63285a..20fec0be505444613c5d1fa21a9364548b3c5420 100644 (file)
@@ -1,6 +1,6 @@
-CFLAGS=-Wall -Wextra
+CFLAGS = -Wall -Wextra -D_GNU_SOURCE
 
-TARGETS= direct_io_test test_sync_io test_short_dio_read
+TARGETS = direct_io_test test_sync_io test_short_dio_read
 
 .c:
        $(CC) $(CFLAGS) $@.c -o $@