CS=cs
CSFLAGS=-verbose -com ../library/tkkit.module -only_C -pre all

all: temperature entry_arr

temperature: tkkit_lib temperature.sa
	$(CS) $(CSFLAGS) temperature.sa -main TEMPERATURE -o temperature
	(cd temperature.code; make)

entry_arr: tkkit_lib entry_arr.sa
	$(CS) $(CSFLAGS) entry_arr.sa -main MAIN  -o entry_arr
	(cd entry_arr.code; make)

tkkit_lib:
	cd ../library; make



clean:
	rm -f ../library/c_interface.o temperature entry_arr
