diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e18ea6e --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +OBJMODULES = rb_tree.o +CC = gcc +CFLAGS = -g -Wall + +%.o: %.c %.h + $(CC) $(CFLAGS) -c $< -o $@ + +rb_tree: rb_tree_main.c $(OBJMODULES) + $(CC) $(CFLAGS) $^ -o $@ |