From a7dd9781961b5f26d5dca6829e1933dff6209d23 Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Sat, 9 Sep 2017 12:47:17 +0200 Subject: Simple collision detection between units added. libgamebuino was always updating header files, so targets were always being rebuilt. --- Libs/libgamebuino/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Libs') diff --git a/Libs/libgamebuino/Makefile b/Libs/libgamebuino/Makefile index b7aa854..75c49b8 100644 --- a/Libs/libgamebuino/Makefile +++ b/Libs/libgamebuino/Makefile @@ -13,13 +13,13 @@ OBJECTS= Backlight.o Battery.o Buttons.o Display.o font3x3.o \ font3x5.o font5x7.o Gamebuino.o settings.o Sound.o default: $(LIBNAME) - cp *.h $(INCLUDE_FOLDER)/$(PROJECT) - + $(LIBNAME): $(OBJECTS) avr-ar rcs $@ $^ mkdir -p $(INCLUDE_FOLDER)/$(PROJECT) mv $@ $(LIBS_FOLDER) avr-size $(LIBS_FOLDER)/$@ + cp *.h $(INCLUDE_FOLDER)/$(PROJECT) %.o: %.cpp $(CXX) $< -o $@ $(INCLUDE) $(DEFINE) $(CC_FLAGS) -- cgit v1.2.3