Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9347116
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
378 B
Subscribers
None
Makefile
View Options
CC = gcc
LD = gcc
BATS = bats
LIBS = libgit2 glib-2.0
CFLAGS = -Wall -Werror $(shell pkg-config --cflags $(LIBS))
LDFLAGS = $(shell pkg-config --libs $(LIBS))
BATS_FLAGS =
all: git2graph
git2graph: git2graph.o
$(LD) -o $@ $^ $(CFLAGS) $(LDFLAGS)
%.o: %.c
$(CC) $(CFLAGS) -c $<
test: all
$(BATS) $(BATS_FLAGS) tests/
clean:
rm -f *.o git2graph
.PHONY: all clean test
File Metadata
Details
Attached
Mime Type
text/x-makefile
Expires
Fri, Jul 4, 4:59 PM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3240564
Attached To
rDGRPH Compressed graph representation
Event Timeline
Log In to Comment