view example/fileread/Makefile @ 1996:9657434c21a4 draft

change memory allocate function malloc() to manager->allocate in my_read
author Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
date Mon, 21 Apr 2014 18:49:21 +0900
parents e8ccf8fa7bf7
children
line wrap: on
line source

default: macosx

macosx: FORCE
	@echo "Make for Mac OS X"
	@$(MAKE) -f Makefile.macosx

parallel: macosx

fifo64: FORCE
	@echo "Make for Mac OS X 64bit mode"
	@$(MAKE) -f Makefile.macosx ABIBIT=64

linux: FORCE
	@echo "Make for Linux"
	@$(MAKE) -f Makefile.linux

cell: FORCE
	@echo "Make for PS3 (Cell)"
	@$(MAKE) -f Makefile.cell

test: macosx
	./fileread -dr -file c.txt

FORCE:

clean:
	@$(MAKE) -f Makefile.macosx clean
	@$(MAKE) -f Makefile.linux clean
	@$(MAKE) -f Makefile.cell clean