From db90eb17f9fe662fc81a4a7a83f137221e472ad9 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Thu, 24 Jan 2019 09:09:08 +0100 Subject: [PATCH] beautify makefile --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7e3e6a5..22de3a2 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,6 @@ CC=msp430-gcc CFLAGS=-O3 -g0 -Wall -mmcu=msp430g2553 -std=gnu99 -I hottislib LDFLAGS=-mmcu=msp430g2553 -.PHONY: all -all: blinky1.elf - blinky1.elf: main.o led.o time.o PontCoopScheduler.o $(CC) -o $@ $(LDFLAGS) $^ @@ -14,6 +11,10 @@ PontCoopScheduler.o: hottislib/PontCoopScheduler.c hottislib/PontCoopScheduler.h .c.o: $(CC) $(CFLAGS) -c $< + +.PHONY: all +all: blinky1.elf + .PHONY: clean clean: -rm -f *.o *.elf