mirror of
https://github.com/quorten/macsehw.git
synced 2024-09-24 00:54:41 +00:00
08efc91131
* Add Raspberry Pi GPIO support functions. * Add timestamps to the test suite. * Add information on required headers for each module of the test software.
13 lines
317 B
Makefile
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
|