1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2025-04-21 12:27:27 +03:00

sch2fig/: support direct reading from git repo (WIP)

This commit is contained in:
Werner Almesberger
2016-08-02 09:04:29 -03:00
parent 508d3a39ee
commit 7cfb2d72be
4 changed files with 441 additions and 15 deletions

View File

@@ -12,13 +12,16 @@
NAME = sch2fig
OBJS = main.o sch-parse.o sch-render.o lib-parse.o lib-render.o \
file.o \
file.o git-file.o \
style.o fig.o record.o cro.o diff.o gfx.o dwg.o text.o misc.o
CFLAGS = -g -Wall -Wextra -Wno-unused-parameter -Wshadow \
-Wmissing-prototypes -Wmissing-declarations \
`pkg-config --cflags cairo`
LIBS = -lm `pkg-config --libs cairo`
`pkg-config --cflags cairo` \
`pkg-config --cflags libgit2`
LDLIBS = -lm \
`pkg-config --libs cairo` \
`pkg-config --libs libgit2`
include ../common/Makefile.c-common
@@ -27,7 +30,7 @@ include ../common/Makefile.c-common
all:: $(NAME)
$(NAME): $(OBJS)
$(CC) -o $(NAME) $(OBJS) $(LIBS)
$(CC) -o $(NAME) $(OBJS) $(LDLIBS)
#----- Test sheet -------------------------------------------------------------