blob: e4ea24ef668698eac6c5614bcd1bfc8f07020150 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# MIT License, Copyright (c) 2020 Marvin Borner
CFLAGS = $(CFLAGS_DEFAULT) -I$(LIBS)/ -I$(LIBS)/libc/inc/ -pie -fPIE -fPIC -DUSER
LDFLAGS = --section-start=.text=0x42000000 -L$(BUILD)
DIRS = $(wildcard */.)
export
all: $(DIRS)
$(DIRS):
@mkdir -p $(BUILD)/apps/
@$(MAKE) --no-print-directory -C $@
@$(MAKE) clean --no-print-directory -C $@
.PHONY: all $(DIRS)
|