2016-03-24 23:55:32 +01:00
|
|
|
|
|
|
|
GHDL = ghdl
|
|
|
|
GHDLFLAGS =
|
|
|
|
|
|
|
|
.PHONY: all
|
2016-04-14 23:56:19 +02:00
|
|
|
all: sim_sincos_d18_p20_probe sim_sincos_d18_p20_full \
|
|
|
|
sim_sincos_d24_p26_probe sim_sincos_d24_p26_full
|
2016-03-24 23:55:32 +01:00
|
|
|
|
|
|
|
sim_sincos_d18_p20_probe: sim_sincos_d18_p20_probe.o sincos_gen_d18_p20.o sincos_gen.o
|
2016-04-10 01:26:05 +02:00
|
|
|
sim_sincos_d18_p20_probe.o: sim_sincos_d18_p20_probe.vhdl sincos_gen_d18_p20.o
|
2016-03-24 23:55:32 +01:00
|
|
|
|
2016-04-10 01:26:05 +02:00
|
|
|
sim_sincos_d18_p20_full: sim_sincos_d18_p20_full.o sincos_gen_d18_p20.o sincos_gen.o
|
|
|
|
sim_sincos_d18_p20_full.o: sim_sincos_d18_p20_full.vhdl sincos_gen_d18_p20.o
|
2016-03-24 23:55:32 +01:00
|
|
|
|
2016-04-14 23:06:21 +02:00
|
|
|
sim_sincos_d24_p26_probe: sim_sincos_d24_p26_probe.o sincos_gen_d24_p26.o sincos_gen.o
|
|
|
|
sim_sincos_d24_p26_probe.o: sim_sincos_d24_p26_probe.vhdl sincos_gen_d24_p26.o
|
|
|
|
|
2016-04-14 23:56:19 +02:00
|
|
|
sim_sincos_d24_p26_full: sim_sincos_d24_p26_full.o sincos_gen_d24_p26.o sincos_gen.o
|
|
|
|
sim_sincos_d24_p26_full.o: sim_sincos_d24_p26_full.vhdl sincos_gen_d24_p26.o
|
|
|
|
|
2016-04-10 01:26:05 +02:00
|
|
|
sincos_gen.o: ../rtl/sincos_gen.vhdl
|
2016-03-24 23:55:32 +01:00
|
|
|
sincos_gen_d18_p20.o: ../rtl/sincos_gen_d18_p20.vhdl sincos_gen.o
|
2016-04-14 23:06:21 +02:00
|
|
|
sincos_gen_d24_p26.o: ../rtl/sincos_gen_d24_p26.vhdl sincos_gen.o
|
2016-04-10 01:26:05 +02:00
|
|
|
|
|
|
|
sim_%: sim_%.o
|
|
|
|
$(GHDL) $(GHDLFLAGS) -e $@
|
|
|
|
|
|
|
|
%.o: ../rtl/%.vhdl
|
2016-03-24 23:55:32 +01:00
|
|
|
$(GHDL) $(GHDLFLAGS) -a $<
|
|
|
|
|
2016-04-10 01:26:05 +02:00
|
|
|
%.o: %.vhdl
|
2016-03-24 23:55:32 +01:00
|
|
|
$(GHDL) $(GHDLFLAGS) -a $<
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
$(GHDL) --remove
|
|
|
|
|