Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > Vthread > Vthread__KMeans__Bench
view Makefile @ 1:8e7bdab2840f
VPThread version workinh
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Tue, 16 Aug 2011 20:32:55 +0200 |
| parents | e69e4c2d612a |
| children |
line source
1 CC = gcc
2 CFLAGS = -m64 -ffast-math -fwrapv -fno-omit-frame-pointer -O3 -D VPTHREAD -D APPLICATION=KMEANS -g -Wall
3 LDFLAGS =
5 LIBS = -lm -lpthread
6 TARGET = kmeans
7 OBJ = \
8 VPThread_lib/VMS/Histogram/Histogram.o \
9 VPThread_lib/VMS/Histogram/FloatHist.o \
10 VPThread_lib/VMS/CoreLoop.o \
11 VPThread_lib/VMS/VMS.o \
12 VPThread_lib/VMS/MasterLoop.o \
13 VPThread_lib/VMS/Queue_impl/PrivateQueue.o \
14 VPThread_lib/VMS/Hash_impl/PrivateHash.o \
15 VPThread_lib/VMS/DynArray/DynArray.o \
16 VPThread_lib/VPThread_PluginFns.o \
17 VPThread_lib/VPThread_lib.o \
18 VPThread_lib/VMS/Histogram/DblHist.o \
19 VPThread_lib/VPThread.o \
20 VPThread_lib/VMS/probes.o \
21 VPThread_lib/VMS/ProcrContext.o \
22 VPThread_lib/VPThread_Request_Handlers.o \
23 VPThread_lib/VPThread_helper.o \
24 VPThread_lib/VMS/Hash_impl/MurmurHash2.o \
25 VPThread_lib/VMS/vmalloc.o \
26 VPThread_lib/VMS/contextSwitch.o \
27 VPThread_lib/VMS/Queue_impl/BlockingQueue.o \
28 VPThread_lib/VMS/vutilities.o \
29 wtime.o \
30 file_io.o \
31 pthreads_kmeans.o \
32 pthreads_main.o
34 all: $(TARGET)
36 $(TARGET): $(OBJ)
37 $(CC) -o $@ $(OBJ) $(LDFLAGS) $(LIBS)
39 %.o : %.c
40 $(CC) -c $(CFLAGS) -o $@ $<
42 clean:
43 rm -f $(OBJ) $(TARGET)
