micro-utils/Makefile

14 lines
244 B
Makefile
Raw Normal View History

2023-10-31 12:53:32 +03:00
objects = coreutils console-tools networking procps shell
2023-10-24 05:15:43 +03:00
CFLAGS?=-s -Os -flto -pedantic -Wall -Wextra
CC?=cc
all: $(objects)
$(objects):
echo MAKE $@
2023-10-31 12:53:32 +03:00
cd $@ && $(MAKE) -B CC="$(CC)" CFLAGS="$(CFLAGS) -I../libmu" && cd ..
2023-10-23 18:48:27 +03:00
clean:
2023-10-24 05:15:43 +03:00
rm bin/*