mirror of
https://github.com/bmartini/zynq-axis.git
synced 2024-09-05 19:19:27 +08:00
c31b303289
This allows for direct access by the host to the same memory region as the AXIS ports are accessing. Should be useful for debugging.
30 lines
356 B
Makefile
30 lines
356 B
Makefile
CC = gcc
|
|
LDFLAGS := -linterface
|
|
CFLAGS := -c -Wall -Werror
|
|
INCLUDES := -I.
|
|
|
|
EXECUTABLE = \
|
|
read-memory \
|
|
test-cfg
|
|
|
|
|
|
.PHONY : all
|
|
all : $(EXECUTABLE)
|
|
|
|
|
|
.c.o :
|
|
$(CC) $(INCLUDES) $(CFLAGS) $< -o $@
|
|
|
|
|
|
read-memory : read-memory.o
|
|
$(CC) $< -o $@ $(LDFLAGS)
|
|
|
|
|
|
test-cfg : test-cfg.o
|
|
$(CC) $< -o $@ $(LDFLAGS)
|
|
|
|
|
|
.PHONY : clean
|
|
clean :
|
|
rm -f *.o $(EXECUTABLE)
|