14 lines
237 B
Makefile
14 lines
237 B
Makefile
objects = coreutils console-tools networking miscutils procps
|
|
|
|
CFLAGS?=-s -Os -flto -pedantic -Wall -Wextra
|
|
CC?=cc
|
|
|
|
all: $(objects)
|
|
|
|
$(objects):
|
|
echo MAKE $@
|
|
cd $@ && $(MAKE) -B CC="$(CC)" CFLAGS="$(CFLAGS)" && cd ..
|
|
|
|
clean:
|
|
rm bin/*
|