macsehw/firmware/rtc/test/Makefile
Andrew Makousky 2bce9ed244 Finished test bench implementation, fixed firmware bugs found during
simulation, document technical limits.
2020-09-10 05:07:27 -05:00

13 lines
307 B
Makefile

SIMAVR_PATH = $(HOME)/src/simavr
SIMAVR_INCLUDE = $(SIMAVR_PATH)/simavr/sim
SIMAVR_LIB_DIR = $(SIMAVR_PATH)/simavr/obj-arm-linux-gnueabihf
CFLAGS = -I $(HOME)/src/simavr/simavr/sim
all: test-rtc
test-rtc: test-rtc.c
gcc $(CFLAGS) -o $@ $< $(SIMAVR_LIB_DIR)/libsimavr.a -lelf -lrt
clean:
rm -f test-rtc