Rewrote a cleaner version of container / backing systems

This commit is contained in:
2024-02-28 17:50:27 +01:00
parent 788d46d071
commit a02cd9fe20
21 changed files with 1453 additions and 2489 deletions

View File

@@ -1,22 +1,22 @@
# ---- ---- #
CC = gcc
CF = -Wall -lkrb5 -lvirt -ljson-c -lcrypto -g
CF = -Wall -lkrb5 -lvirt -ljson-c -lcrypto -g -pedantic
# ---- ---- #
build: $(shell find . -name "*.c") $(shell find . -name "*.h")
@mkdir -p bin
@$(CC) $(CF) -o ./bin/sandbox $(shell find . -name "*.c")
$(CC) $(CF) -o ./bin/sandbox $(shell find . -name "*.c")
run: build
@./bin/sandbox
./bin/sandbox
debug: build
@gdb -q ./bin/sandbox
gdb -q ./bin/sandbox
clean:
@rm -rf ./bin
rm -rf ./bin
.PHONY: build run clean