rename packages to buildroot_packages

fix BR2_SAMPLE_PACKAGE to PACKAGE_SAMPLE_PACKAGE on README

Add some more README.adoc to subdirs.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-02 22:00:08 +00:00
parent df3a22052e
commit 07a000cae7
20 changed files with 36 additions and 51 deletions

View File

@@ -0,0 +1,16 @@
.PHONY: all clean
CFLAGS_EXTRA ?= -fopenmp -std=c99 -Wall -Werror -Wextra
IN_EXT ?= .c
LIBS :=
OUT_EXT ?= .out
OUTS := $(addsuffix $(OUT_EXT), $(basename $(wildcard *$(IN_EXT))))
all: $(OUTS)
%$(OUT_EXT): %$(IN_EXT)
$(CC) $(CFLAGS) $(CFLAGS_EXTRA) -o '$@' '$<' $(LIBS)
clean:
rm -f *'$(OUT_EXT)'