Skip to content

Commit

Permalink
firmware: libs: containers: Adding separe rules #43
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelboing committed Dec 30, 2022
1 parent b0539b5 commit e599fe5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions firmware/libs/containers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ GDB=arm-none-eabi-gdb
CFLAGS=-c -mcpu=cortex-m3 -mthumb -O0

.PHONY: all
all:
$(CC) $(CFLAGS) queue.c buffer.c -o $(BUILD_DIR)/$(TARGET).o
all: queue buffer

queue: queue.c
$(CC) $(CFLAGS) $< -o $(BUILD_DIR)/$@.o

buffer: buffer.c
$(CC) $(CFLAGS) $< -o $(BUILD_DIR)/$@.o

.PHONY: clean

Expand Down

0 comments on commit e599fe5

Please sign in to comment.