view Makefile @ 3:80a90f221047

correct Typo
author Merten Sach <msach@mailbox.tu-berlin.de>
date Wed, 28 Sep 2011 15:15:52 +0200
parents 4ae1d7ffb1ae
children
line source
1 obj = \
2 VPThread_lib/VMS/Histogram/Histogram.o \
3 VPThread_lib/VMS/Histogram/FloatHist.o \
4 VPThread_lib/VMS/CoreLoop.o \
5 VPThread_lib/VMS/VMS.o \
6 VPThread_lib/VMS/MasterLoop.o \
7 VPThread_lib/VMS/Queue_impl/PrivateQueue.o \
8 VPThread_lib/VMS/Hash_impl/PrivateHash.o \
9 VPThread_lib/VMS/DynArray/DynArray.o \
10 VPThread_lib/VPThread_PluginFns.o \
11 VPThread_lib/VPThread_lib.o \
12 VPThread_lib/VMS/Histogram/DblHist.o \
13 VPThread_lib/VPThread.o \
14 VPThread_lib/VMS/probes.o \
15 VPThread_lib/VMS/ProcrContext.o \
16 VPThread_lib/VPThread_Request_Handlers.o \
17 VPThread_lib/VPThread_helper.o \
18 VPThread_lib/VMS/Hash_impl/MurmurHash2.o \
19 VPThread_lib/VMS/vmalloc.o \
20 VPThread_lib/VMS/contextSwitch.o \
21 VPThread_lib/VMS/Queue_impl/BlockingQueue.o \
22 VPThread_lib/VMS/vutilities.o \
23 c-ray-mt.o
25 bin = c-ray-mt
27 CC = gcc
28 CFLAGS = -m64 -ffast-math -fwrapv -fno-omit-frame-pointer -O3 -D VPTHREAD -D APPLICATION=C-RAY -g -Wall
30 $(bin): $(obj)
31 $(CC) -o $@ $(obj) -lm -lpthread
33 %.o : %.c
34 $(CC) -c $(CFLAGS) -o $@ $<
36 .PHONY: clean
37 clean:
38 rm -f $(obj) $(bin)
40 .PHONY: install
41 install:
42 cp $(bin) /usr/local/bin/$(bin)
44 .PHONY: uninstall
45 uninstall:
46 rm -f /usr/local/bin/$(bin)
49 # $@ Name des Targets