mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-10 05:15:24 +01:00
Move diffutils after musl.
This commit is contained in:
parent
209c60e092
commit
e20ce6fdca
7 changed files with 73 additions and 86 deletions
29
sysa/diffutils-2.7/mk/main.mk
Normal file
29
sysa/diffutils-2.7/mk/main.mk
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
CC = tcc
|
||||
|
||||
CFLAGS = -I . \
|
||||
-DNULL_DEVICE=\"/dev/null\" \
|
||||
-DHAVE_STRERROR=1 \
|
||||
-DREGEX_MALLOC=1 \
|
||||
-DHAVE_DIRENT_H \
|
||||
-DHAVE_DUP2=1 \
|
||||
-DHAVE_FORK=1
|
||||
|
||||
.PHONY: all
|
||||
|
||||
CMP_SRC = cmp cmpbuf error getopt getopt1 xmalloc version
|
||||
CMP_OBJECTS = $(addsuffix .o, $(CMP_SRC))
|
||||
|
||||
DIFF_SRC = diff alloca analyze cmpbuf dir io util context ed ifdef normal side fnmatch getopt getopt1 regex version
|
||||
DIFF_OBJECTS = $(addsuffix .o, $(DIFF_SRC))
|
||||
|
||||
all: cmp diff
|
||||
|
||||
cmp: $(CMP_OBJECTS)
|
||||
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
||||
|
||||
diff: $(DIFF_OBJECTS)
|
||||
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
||||
|
||||
install: all
|
||||
install cmp $(PREFIX)/bin
|
||||
install diff $(PREFIX)/bin
|
||||
Loading…
Add table
Add a link
Reference in a new issue