~ubuntu-branches/ubuntu/oneiric/libpthread-workqueue/oneiric

« back to all changes in this revision

Viewing changes to testing/latency/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Mark Heily
  • Date: 2011-05-07 11:57:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110507115722-n8ftqsa8w2el0xkn
Tags: 0.5.1-1
* New upstream version.
* Update control file with new Standards-Version.
* Remove -m64 from CFLAGS (Closes: #622798)
* Limit architecture to linux-any (Closes: #622799)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
CC=gcc
2
2
 
 
3
include ../../config.mk
 
4
 
3
5
latency:
4
 
        $(CC) -m64 -I../../include -L../.. -o latency latency.c -lpthread -lrt -lpthread_workqueue
 
6
        $(CC) $(CFLAGS) -I../../include -L../.. -o latency latency.c -lpthread -lrt -lpthread_workqueue
5
7
 
6
8
macosx:
7
 
        $(CC) -m64 -I../../include -L../.. -R../.. -o latencym latency.c -lpthread
 
9
        $(CC) $(CFLAGS) -I../../include -L../.. -R../.. -o latencym latency.c -lpthread
8
10
 
9
11
check: latency
10
12
        LD_LIBRARY_PATH=../..:/usr/sfw/lib/amd64 ./latency