mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
Build grep-2.4.
This commit is contained in:
parent
eb650776e9
commit
c19a71c11c
4 changed files with 49 additions and 2 deletions
23
sysa/grep-2.4.mk
Normal file
23
sysa/grep-2.4.mk
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
PACKAGE=grep
|
||||
VERSION=2.4
|
||||
|
||||
CC = tcc
|
||||
LD = tcc
|
||||
AR = tcc -ar
|
||||
|
||||
CFLAGS = -DPACKAGE=\"$(PACKAGE)\" \
|
||||
-DVERSION=\"$(VERSION)\" \
|
||||
-DHAVE_DIRENT_H=1 \
|
||||
-DHAVE_UNISTD_H=1
|
||||
|
||||
LDFLAGS =
|
||||
|
||||
.PHONY: all
|
||||
|
||||
GREP_SRC = grep dfa kwset obstack regex stpcpy savedir getopt getopt1 search grepmat
|
||||
GREP_OBJECTS = $(addprefix src/, $(addsuffix .o, $(GREP_SRC)))
|
||||
|
||||
all: grep
|
||||
|
||||
grep: $(GREP_OBJECTS)
|
||||
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
||||
Loading…
Add table
Add a link
Reference in a new issue