aboutsummaryrefslogtreecommitdiff
path: root/confui/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-11-13 15:04:07 +0100
committerlonkaars <loek@pipeframe.xyz>2022-11-13 15:04:07 +0100
commitd634b41735813489627cca534a9f51a3b5ad9b91 (patch)
treef3768efd35232fabc1101fc2de67e5c7b63cdabe /confui/makefile
parent8b6b31695774ff8dd2d420d879bd22ffaf49f297 (diff)
update architecture
Diffstat (limited to 'confui/makefile')
-rw-r--r--confui/makefile24
1 files changed, 24 insertions, 0 deletions
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
+