OBJS = fa32_t1.o fs64_t2.o t64_ts.o util.o fun.o

.PHONY: clean test

%.o: %.c util.h
	$(CC_TARGET) -c $(CFLAGS_TARGET) -o $@ $<

all: $(OBJS)
	$(CC_TARGET) $(CFLAGS_TARGET) $(OBJS) $(LDFLAGS_TARGET) -o testprog

clean:
	@rm -f *.o testprog result.txt

test:
	run_program 1 ./testprog 1000000 > result.txt

