diff options
author | Karel Kočí <cynerd@email.cz> | 2016-06-30 17:18:49 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-06-30 17:18:49 +0200 |
commit | 4e1ce86af16307bf7d42657db07600867c7c4bbc (patch) | |
tree | 5d0dfddea221c91545a9bd57ac7face5842291d4 /Makefile | |
parent | 147cb7f0e67d1f3c3274effa5476607e24664182 (diff) | |
download | avr-ioe-4e1ce86af16307bf7d42657db07600867c7c4bbc.tar.gz avr-ioe-4e1ce86af16307bf7d42657db07600867c7c4bbc.tar.bz2 avr-ioe-4e1ce86af16307bf7d42657db07600867c7c4bbc.zip |
Add some more progress and split non-core functionality to separate repo
More progress to implementation and some changes in project it self.
This library will implement only drivers for features on chip but
nothing else. Everything connected externally is now in separate
repository.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,3 +1,4 @@ +# vim:ts=4:sw=4:sts=4:noexpandtab MAKEFLAGS += --no-builtin-rules # Default output path. Can be changed by enviroment to compile to different folder @@ -53,17 +54,17 @@ $(O)/libioe.a: $(OBJ) $(Q)$(AR) -crs $@ $^ $(OBJ): $(O)/build/%.o: src/%.c - $(Q)mkdir -p "$(@D)" + @mkdir -p "$(@D)" @echo " CC $@" $(Q)$(GCC) $(CFLAGS) -c -o $@ $< $(DEP): $(O)/build/%.d: src/%.c $(O)/build/config.h - $(Q)mkdir -p "$(@D)" + @mkdir -p "$(@D)" @echo " DEP $@" $(Q)$(CPP) -MM -MG -MT '$(O)/build/$*.o $@' $(CFLAGS) -o $@ $< $(O)/build/config.h: $(CONFIG) - $(Q)mkdir -p "$(@D)" + @mkdir -p "$(@D)" @echo " GEN $@" $(Q)grep -v "^#" $(CONFIG) | grep "CONFIG_" | sed -e 's/="\(.*\)"/=\1/;s/=/ /;s/^/#define /' > $@ |