mvm: Add initial mvm groundwork
Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#
|
||||
# Copyright (c) 2026 Mirocom Laboratories and MSP engineers.
|
||||
# All Rights Reserved.
|
||||
#
|
||||
|
||||
CFILES = $(shell find core/ -name "*.c")
|
||||
OFILES = $(CFILES:.c=.o)
|
||||
DFILES = $(CFILES:.c=.d)
|
||||
CC = gcc
|
||||
|
||||
CFLAGS = \
|
||||
-Wall \
|
||||
-pedantic \
|
||||
-MMD \
|
||||
-Iinclude
|
||||
|
||||
.PHONY: all
|
||||
all: mvm
|
||||
|
||||
.PHONY: mvm
|
||||
mvm: $(OFILES)
|
||||
$(CC) $^ -o $@
|
||||
|
||||
%.o: %.c
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
Reference in New Issue
Block a user