diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-09-08 18:39:22 +0200 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-09-08 18:39:22 +0200 |
| commit | 786dccd2bc0946d48b8a2758ef2c607678bc8dd9 (patch) | |
| tree | 47952d77e5646a993671134b50c16f32ebe35b1c /Libs/tinyFAT/Makefile | |
| parent | 72d350a37aa67936361ac8a374472b7e0227da61 (diff) | |
| download | pocketempires-786dccd2bc0946d48b8a2758ef2c607678bc8dd9.tar.gz | |
Removed Building and GameStructures modules. Restructured SW for Unit and Player, still a lot TODO
Diffstat (limited to 'Libs/tinyFAT/Makefile')
| -rw-r--r-- | Libs/tinyFAT/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Libs/tinyFAT/Makefile b/Libs/tinyFAT/Makefile index 2640178..df0650b 100644 --- a/Libs/tinyFAT/Makefile +++ b/Libs/tinyFAT/Makefile @@ -10,12 +10,14 @@ LIBNAME=lib$(PROJECT).a OBJECTS=mmc.o tinyFAT.o -default: $(OBJECTS) - avr-ar rcs $(LIBNAME) $^ - mkdir -p $(INCLUDE_FOLDER)/$(PROJECT) +default: $(LIBNAME) cp *.h $(INCLUDE_FOLDER)/$(PROJECT) - mv $(LIBNAME) $(LIBS_FOLDER) - avr-size $(LIBS_FOLDER)/$(LIBNAME) + +$(LIBNAME): $(OBJECTS) + avr-ar rcs $@ $^ + mkdir -p $(INCLUDE_FOLDER)/$(PROJECT) + mv $@ $(LIBS_FOLDER) + avr-size $(LIBS_FOLDER)/$@ %.o: %.cpp $(CXX) $< -o $@ $(INCLUDE) $(DEFINE) $(CC_FLAGS) @@ -26,3 +28,5 @@ default: $(OBJECTS) clean: rm -f $(OBJECTS) rm -f $(LIBS_FOLDER)/$(LIBNAME) + +.PHONY: default clean |
