mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-20 02:02:58 +01:00
Restructure
This commit is contained in:
parent
e5cbaa9e04
commit
5a369dc783
77 changed files with 419 additions and 295 deletions
|
|
@ -1,28 +0,0 @@
|
|||
PRODUCT = m4
|
||||
VERSION = 1.4
|
||||
|
||||
CC = tcc
|
||||
LD = tcc
|
||||
AR = tcc -ar
|
||||
|
||||
CFLAGS = -I lib \
|
||||
-DPRODUCT=\"$(PRODUCT)\" \
|
||||
-DVERSION=\"$(VERSION)\"
|
||||
|
||||
LDFLAGS = -L . -lm4
|
||||
|
||||
.PHONY: all
|
||||
|
||||
LIB_SRC = regex getopt getopt1 error obstack xmalloc xstrdup
|
||||
LIB_OBJECTS = $(addprefix lib/, $(addsuffix .o, $(LIB_SRC)))
|
||||
|
||||
M4_SRC = m4 builtin debug eval format freeze input macro output path symtab
|
||||
M4_OBJ = $(addprefix src/, $(addsuffix .o, $(M4_SRC)))
|
||||
|
||||
all: m4
|
||||
|
||||
m4: libm4.a $(M4_OBJ)
|
||||
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
||||
|
||||
libm4.a: $(LIB_OBJECTS)
|
||||
$(AR) cr $@ $(LIB_OBJECTS)
|
||||
Loading…
Add table
Add a link
Reference in a new issue