mirror of
https://github.com/facebook/sapling.git
synced 2024-10-13 02:07:31 +03:00
1802036ff3
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
12 lines
208 B
Makefile
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
|