forked from bgamari/timetag-fpga
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (20 loc) · 720 Bytes
/
Makefile
File metadata and controls
27 lines (20 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
V_FLAGS=
ALTERA_ROOT=/opt/altera/10.1sp1/modelsim_ase
INCLUDES=-I${ALTERA_ROOT}/altera/verilog/src
LIB_FILES= \
event_tagger.v apdtimer_all.v strobe_latch.v \
reg_manager.v register.v \
sample_fifo.v sample_multiplexer.v \
timetag.v fx2_timetag.v fx2_bidir.v \
led_blinker.v \
${ALTERA_ROOT}/altera/verilog/src/altera_mf.v
TIMETAG_BENCH_FILES=timetag_bench.v
FX2_TIMETAG_BENCH_FILES=fx2_test_fixture.v fx2_timetag_bench.v
PROGS=timetag_bench fx2_timetag_bench
all : ${PROGS}
clean :
rm -f ${PROGS}
timetag_bench : ${TIMETAG_BENCH_FILES} ${LIB_FILES}
iverilog ${V_FLAGS} -o $@ ${INCLUDES} $+
fx2_timetag_bench : ${FX2_TIMETAG_BENCH_FILES} ${LIB_FILES}
iverilog ${V_FLAGS} -o $@ ${INCLUDES} $+