mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
15 lines
214 B
Makefile
15 lines
214 B
Makefile
CFLAGS += -Wall -Wextra
|
|
CFLAGS += -I../../../sys/include
|
|
|
|
OBJS := main.o serial.o
|
|
|
|
%.o: %.c
|
|
@cc $(CFLAGS) -c -o $@ $<
|
|
|
|
riotboot_serial: $(OBJS)
|
|
@cc -o $@ $(OBJS)
|
|
|
|
clean:
|
|
@rm -fr $(OBJS)
|
|
@rm -fr riotboot_serial
|