Rewrote a cleaner version of container / backing systems
This commit is contained in:
10
Makefile
10
Makefile
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user