add my unfinished cbase

This commit is contained in:
joachimschmidt557 2020-06-09 17:51:23 +02:00
parent 501065651d
commit bb63a9dd3c
16 changed files with 277 additions and 0 deletions

14
cbase/data/trees/Makefile Normal file
View file

@ -0,0 +1,14 @@
OBJ=binarytree.o bst.o rbtree.o
SRC=$(OBJ:.o=.c)
HDR=$(SRC:.c=.h)
CFLAGS+=-Wall
CFLAGS+=-Wextra
all: $(OBJ)
clean:
$(RM) $(OBJ)
%.o: %.c %.h
$(CC) -o $@ -c $< $(CFLAGS)