#
# Module : Simple Parallel C Examples
# Name   : Richard Onyett (Santa Clara, RTC)
# File   : makefile
#

CC     = icc
CFLAGS = /t8
SRC    = master.tco worker.tco system.tco
LINK   = ilink /f startup.lnk $(SRC) /t8
BOOT   = icollect system.lku /t

system.btl: $(SRC)
	$(LINK) /o system.lku
	$(BOOT)

system.tco: system.c
	$(CC) system.c $(CFLAGS)

master.tco: master.c
	$(CC) master.c $(CFLAGS)

worker.tco: worker.c
	$(CC) worker.c $(CFLAGS)
