From b764612a79100271270012053bdb1e4302cd93b7 Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Sat, 9 Sep 2017 12:57:49 +0200 Subject: Renamed *Spr.c files to *Spr.inc. Adjusted dependencies for subMakes. --- Libs/tinyFAT/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Libs/tinyFAT/Makefile') diff --git a/Libs/tinyFAT/Makefile b/Libs/tinyFAT/Makefile index df0650b..b99505f 100644 --- a/Libs/tinyFAT/Makefile +++ b/Libs/tinyFAT/Makefile @@ -11,12 +11,12 @@ LIBNAME=lib$(PROJECT).a OBJECTS=mmc.o tinyFAT.o default: $(LIBNAME) - cp *.h $(INCLUDE_FOLDER)/$(PROJECT) - + $(LIBNAME): $(OBJECTS) avr-ar rcs $@ $^ mkdir -p $(INCLUDE_FOLDER)/$(PROJECT) - mv $@ $(LIBS_FOLDER) + cp $@ $(LIBS_FOLDER) + cp *.h $(INCLUDE_FOLDER)/$(PROJECT) avr-size $(LIBS_FOLDER)/$@ %.o: %.cpp -- cgit v1.2.3