From d634b41735813489627cca534a9f51a3b5ad9b91 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 13 Nov 2022 15:04:07 +0100 Subject: update architecture --- confui/makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 confui/makefile (limited to 'confui/makefile') diff --git a/confui/makefile b/confui/makefile new file mode 100644 index 0000000..e646524 --- /dev/null +++ b/confui/makefile @@ -0,0 +1,24 @@ +CC = gcc +LD = gcc +RM = rm -f +CFLAGS = +LFLAGS = +TARGET = bts + +SRCS := $(wildcard *.c) +OBJS := $(patsubst %.c,%.o, $(SRCS)) + +all: $(TARGET) + +%.o: %.c + $(CC) -c $(CFLAGS) $< -o $@ + +$(TARGET): $(OBJS) + $(LD) $^ $(LFLAGS) -o $@ + +clean: + $(RM) $(TARGET) $(OBJS) + +compile_commands: clean + compiledb make + -- cgit v1.2.3