Finish tagging implementation for hash tags
[blerg.git] / Makefile
1 CFLAGS = -g
2 LIBS =
3
4 targets = blerg.a blergtool tag_test
5 blerg_a_objects = database.o tags.o
6 blergtool_objects = blergtool.o blerg.a
7
8 tag_test_objects = tag_test.o tags.o
9
10 all: $(targets)
11
12 clean:
13         rm -f $(targets) $(blerg_a_objects) $(blergtool_objects)
14
15 blerg.a: $(blerg_a_objects)
16         ar rcu $@ $(blerg_a_objects)
17
18 blergtool: $(blergtool_objects)
19         gcc $^ -o $@
20
21 tag_test: $(tag_test_objects)
22         gcc $^ -o $@
23
24 %.o: %.c
25         gcc $(CFLAGS) $(LIBS) -c $< -o $@