From d7a7c97220ab9660722a3602cc74549b0c82d3d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 14 Mar 2015 11:35:15 +0100 Subject: Add makefile and files.mk Added dummy makefile. Only for cleaning. files.mk is intended for project makefile. --- files.mk | 6 ++++++ makefile | 15 +++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 files.mk create mode 100644 makefile diff --git a/files.mk b/files.mk new file mode 100644 index 0000000..dca418b --- /dev/null +++ b/files.mk @@ -0,0 +1,6 @@ + +IOE_SPI_SRC = $(IOE_PREFIX)/src/avr5/spi.c +IOE_SPI_USI_SRC = $(IOE_PREFIX)/src/avr25/spi_usi.c + +IOE_SPI_OBJ = $(patsubst %.c,%.o,$(IOE_SPI_SRC)) +IOE_SPI_USI_OBJ = $(patsubst %.c,%.o,$(IOE_SPI_USI_SRC)) diff --git a/makefile b/makefile new file mode 100644 index 0000000..846c644 --- /dev/null +++ b/makefile @@ -0,0 +1,15 @@ +.PHONY: all help clean + +include files.mk + +all: + $(error This is not library, please include "files.mk" to your project makefile. For more informations refer to README.md) + +help: + @echo This makefile only implements these targets: + @echo help - prints this text + @echo clean - removing all object files generated from source files + +clean: + $(RM) $(IOE_SPI_OBJ) + $(RM) $(IOE_SPI_USI_OBJ) -- cgit v1.2.3