fix warnings
[pluto.git] / examples / adi / Makefile
bloba697305a107c9abb4c46b47d1378693c5e79a0ff
1 SRC=adi
3 PLCFLAGS = --codegen-context=50
4 TILEFLAGS = #--l2tile
6 include ../common.mk
8 hopt: $(SRC).hopt.c data.decls util.h
9 $(CC) $(OPT_FLAGS) -lm $(SRC).hopt.c -o hopt $(CFLAGS)
11 hopt_test: $(SRC).hopt.c data.decls util.h
12 $(CC) $(OPT_FLAGS) -lm $(SRC).hopt.c -o hopt_test -DTEST $(CFLAGS)
14 $(SRC).par2d.c:
15 $(PLC) $(SRC).c --tile --parallel --multipipe $(TILEFLAGS) $(PLCFLAGS) --output $(SRC).par2d.c
17 par2d: $(SRC).par2d.c decls.h util.h
18 $(CC) $(CFLAGS) $(OPT_FLAGS) -openmp -lm $(SRC).par2d.c -o par2d