#
# Makefile for SPI device test utility (using spidev driver)
#
# Copyright (C) 2018 Cogent Embedded, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License.
#

CFLAGS ?= -O2 -W -Wall

spidev_test.o: spidev_test.c

spidev_test: spidev_test.o

all: spidev_test

distclean: clean
clean:
	rm -f *.o
	rm -f spidev_test
