1# Copyright (c) 2012 The Chromium OS Authors. 2# 3# Based on: 4# http://bazaar.launchpad.net/~ubuntu-bugcontrol/qa-regression-testing/master/view/head:/scripts/kernel-security/ptrace/Makefile 5# Copyright (C) 2010-2011 Canonical Ltd. 6# License: GPLv3 7CFLAGS=-Wall -Werror 8 9EXECS=sleeper thread-prctl 10 11all: $(EXECS) 12 13clean: 14 rm -f $(EXECS) 15 16thread-%: thread-%.c 17 $(CC) $(CFLAGS) -pthread -o $@ $< 18