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:
@@ -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 -------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user