summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-09-20 10:41:37 +0200
committerThomas Schmucker <ts@its1.de>2026-09-20 10:41:37 +0200
commite04525e6f7802be30481477b272e39c55230db83 (patch)
tree63ce1b5ab574efe599527be8c9c17a533eeeaaca /makefile
downloaduse-bsd-rbtree-master.tar.gz
use-bsd-rbtree-master.tar.bz2
use-bsd-rbtree-master.zip
initial importHEADmaster
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..a895dfe
--- /dev/null
+++ b/makefile
@@ -0,0 +1,12 @@
1all: rbtest
2
3CFLAGS = -Wall -Werror -pedantic -std=c99 -O2
4
5rbtest: main.o
6 cc $^ -o $@
7
8%.o: %.c
9 cc $(CFLAGS) -c $< -o $@
10
11clean:
12 rm -f rbtest *.o