sapling/lib/linelog/Makefile
Jun Wu 1802036ff3 linelog: move to lib/ and mercurial/cyext
Summary:
The `lib/linelog` directory contains pure C code that is unrelated from
either Mercurial or Python. The `mercurial/cyext` contains Cython extension
code (although for linelog's case, the Cython extension is unrelated from
Mercurial).

Cython is now a hard dependence to simplify the code.

Test Plan: `make local` and check `from mercurial.cyext import linelog` works.

Reviewers: durham, #mercurial

Reviewed By: durham

Subscribers: durham, fried

Differential Revision: https://phabricator.intern.facebook.com/D6678541

Signature: 6678541:1515455512:967266dc69c702dbff95fdea05671e11c32ebf28
2018-01-08 14:35:01 -08:00

12 lines
208 B
Makefile

.PHONY: all clean
CFLAGS ?= -std=c99 -O2 -Wall -Wextra -Wconversion -pedantic -g
all: linelogcli
linelogcli: linelogcli.c linelog.c linelog.h
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
clean:
rm -f linelogcli