Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > Vthread > Vthread__Best_Effort_Msg__Bench
comparison Makefile @ 0:4ae1d7ffb1ae
Initial pthreads version
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Wed, 03 Aug 2011 14:26:31 +0200 |
| parents | |
| children | 3840d91821c4 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:83c4c76d35c5 |
|---|---|
| 1 obj = c-ray-mt.o | |
| 2 bin = c-ray-mt | |
| 3 | |
| 4 CC = gcc | |
| 5 CFLAGS = -O3 -ffast-math | |
| 6 | |
| 7 $(bin): $(obj) | |
| 8 $(CC) -o $@ $(obj) -lm -lpthread | |
| 9 | |
| 10 .PHONY: clean | |
| 11 clean: | |
| 12 rm -f $(obj) $(bin) | |
| 13 | |
| 14 .PHONY: install | |
| 15 install: | |
| 16 cp $(bin) /usr/local/bin/$(bin) | |
| 17 | |
| 18 .PHONY: uninstall | |
| 19 uninstall: | |
| 20 rm -f /usr/local/bin/$(bin) |
