TARGET = gateway CC = arm-none-eabi-gcc CFLAGS = -mcpu=cortex-m4 -mthumb -ICore/Inc -IMiddlewares/Third_Party/FreeRTOS/Source/include SRCS = Core/Src/main.c $(TARGET).elf: $(SRCS) $(CC) $(CFLAGS) -o $@ $^