summaryrefslogtreecommitdiff
path: root/Makefile
blob: 91bb1ce79afa5abb432066bf878d4490905b401b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CC       = gcc
CFLAGS   = -g -Wall
LDFLAGS  =
INCLUDES =
COMPILE  = $(CC) $(INCLUDES) $(CFLAGS)
LINK     = $(CC) $(CFLAGS) $(LDFLAGS)

objects = utils.o metastore.o metaentry.o

%.o: %.c
	$(COMPILE) -o $@ -c $<

metastore: $(objects)
	$(LINK) -o $@ $^

clean:
	rm -f *.o metastore
.PHONY: clean