From 37518214a3cb51cc40e85e3f42dc7b86ab01d930 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Thu, 15 Feb 2024 14:39:36 +0100 Subject: [PATCH] Project cleanup --- makefile | 17 ++++------------- {include => src}/ulas.h | 0 2 files changed, 4 insertions(+), 13 deletions(-) rename {include => src}/ulas.h (100%) diff --git a/makefile b/makefile index 18e75cb..047cd0d 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ NAME=ulas -IDIR=./include +IDIR=./src SDIR=./src CC=gcc DBGCFLAGS=-g -fsanitize=address @@ -30,7 +30,7 @@ all: bin test release: make DBGCFLAGS="" DBGLDFLAGS="" -$(ODIR)/%.o: src/%.c include/*.h +$(ODIR)/%.o: src/%.c src/*.h mkdir -p $(@D) $(CC) -c -o $@ $< $(CFLAGS) $(LDFLAGS) @@ -66,17 +66,8 @@ ccmds: .PHONY: format format: - clang-format -i ./src/*.c ./include/*.h + clang-format -i ./src/*.c ./src/*.h .PHONY: lint lint: - clang-tidy ./include/*.h ./src/*.c - -.PHONY: runtest -runtest: - ./$(BDIR)/$(TEST_BNAME) - -.PHONY: buildtests -buildtests: - ./$(BDIR)/$(BNAME) tests/t0.s -l - -o tests/t0.bin - + clang-tidy ./src/*.h ./src/*.c diff --git a/include/ulas.h b/src/ulas.h similarity index 100% rename from include/ulas.h rename to src/ulas.h -- 2.30.2