diff --git a/Makefile b/Makefile index aa7eb6b..bd320c5 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ # Simplified version from: https://github.com/hexagon5un/AVR-Programming MAIN = librfm69.c +SRC = CC = avr-gcc AR = avr-ar @@ -19,6 +20,8 @@ ARFLAGS = rcs +MAKEFLAGS += -r + TARGET = $(strip $(basename $(MAIN))) SRC += $(TARGET).c