Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > Vthread > Vthread__Best_Effort_Msg__Bench
view Makefile @ 5:535c119ba090
rearranged code to fit project patterns
| author | Me@portablequad |
|---|---|
| date | Fri, 28 Oct 2011 06:56:35 -0700 |
| parents | 3840d91821c4 |
| children |
line source
1 obj = \
2 src/VPThread_lib/VMS/Histogram/Histogram.o \
3 src/VPThread_lib/VMS/Histogram/FloatHist.o \
4 src/VPThread_lib/VMS/CoreLoop.o \
5 src/VPThread_lib/VMS/VMS.o \
6 src/VPThread_lib/VMS/MasterLoop.o \
7 src/VPThread_lib/VMS/Queue_impl/PrivateQueue.o \
8 src/VPThread_lib/VMS/Hash_impl/PrivateHash.o \
9 src/VPThread_lib/VMS/DynArray/DynArray.o \
10 src/VPThread_lib/VPThread_PluginFns.o \
11 src/VPThread_lib/VPThread_lib.o \
12 src/VPThread_lib/VMS/Histogram/DblHist.o \
13 src/VPThread_lib/VPThread.o \
14 src/VPThread_lib/VMS/probes.o \
15 src/VPThread_lib/VMS/ProcrContext.o \
16 src/VPThread_lib/VPThread_Request_Handlers.o \
17 src/VPThread_lib/VPThread_helper.o \
18 src/VPThread_lib/VMS/Hash_impl/MurmurHash2.o \
19 src/VPThread_lib/VMS/vmalloc.o \
20 src/VPThread_lib/VMS/contextSwitch.o \
21 src/VPThread_lib/VMS/Queue_impl/BlockingQueue.o \
22 src/VPThread_lib/VMS/vutilities.o \
23 src/Application/main.o
25 bin = task_size_vs_exe_time
27 NUM_CORES=4
29 CC = gcc
30 CFLAGS = -m64 -ffast-math -fwrapv -fno-omit-frame-pointer -O3 -D VPTHREAD -D APPLICATION=C-RAY -D NUM_CORES=$(NUM_CORES) -g -Wall
32 $(bin): $(obj)
33 $(CC) -o $@ $(obj) -lm -lpthread
35 %.o : %.c
36 $(CC) -c $(CFLAGS) -o $@ $<
38 .PHONY: clean
39 clean:
40 rm -f $(obj) $(bin)
42 .PHONY: install
43 install:
44 cp $(bin) /usr/local/bin/$(bin)
46 .PHONY: uninstall
47 uninstall:
48 rm -f /usr/local/bin/$(bin)
51 # $@ Name des Targets
