summaryrefslogtreecommitdiff
path: root/Libs
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-09-09 12:47:17 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2017-09-09 12:47:17 +0200
commita7dd9781961b5f26d5dca6829e1933dff6209d23 (patch)
tree6e3f1c469e6997fedbaa096f377d67f99a65ae47 /Libs
parent786dccd2bc0946d48b8a2758ef2c607678bc8dd9 (diff)
downloadpocketempires-a7dd9781961b5f26d5dca6829e1933dff6209d23.tar.gz
Simple collision detection between units added. libgamebuino was always updating header files, so targets were always being rebuilt.
Diffstat (limited to 'Libs')
-rw-r--r--Libs/libgamebuino/Makefile4
1 files changed, 2 insertions, 2 deletions
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)