add my unfinished cbase
This commit is contained in:
parent
501065651d
commit
bb63a9dd3c
16 changed files with 277 additions and 0 deletions
14
cbase/data/trees/Makefile
Normal file
14
cbase/data/trees/Makefile
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue