From 19435b7348eeabb7a2d6fa6ed94a0473ea3c96a7 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 11 Sep 2022 20:48:22 +0200 Subject: [PATCH] Makefile: build + link more source files --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 36e785e..15eefc9 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ -LIBS=-lasan -ltalloc -losmocore -losmovty -losmoctrl -losmoabis -DEFS=-DPACKAGE_VERSION=\"0.0\" +LIBS=-lasan -ltalloc -losmocore -losmovty -losmogsm -losmoctrl -losmoabis +CFLAGS=-Wall -DPACKAGE_VERSION=\"0.0\" %.o: %.c - $(CC) $(DEFS) -o $@ -c $^ + $(CC) $(CFLAGS) -o $@ -c $^ -v5le: main.o +v5le: main.o v5x_data.o lapv5.o $(CC) -o $@ $^ $(LIBS) clean: