macsehw/firmware/rtc/test/Makefile
Andrew Makousky 08efc91131 Testing improvements.
* Add Raspberry Pi GPIO support functions.

* Add timestamps to the test suite.

* Add information on required headers for each module of the test
  software.
2020-09-12 15:11:53 -05:00

13 lines
317 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 -lpthread -lelf -lrt
clean:
rm -f test-rtc