Basic object manipulation

This commit is contained in:
womax
2024-05-28 20:08:41 +02:00
commit 70644cf67e
8 changed files with 357 additions and 0 deletions

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
SRC := $(wildcard src/*.c)
CFLAGS := -lcrypto -lm -lz
DEBUG = false
ifeq ($(DEBUG), true)
DEBUG_FLAG = -DDEBUG -ggdb
endif
all: $(SRC)
gcc -o build/cgit $(SRC) $(CFLAGS) $(DEBUG_FLAG)
run: all
build/cgit