Berry failed port attempt leftovers :(
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m9s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m9s
This commit is contained in:
@@ -4,16 +4,19 @@ o :=
|
||||
c :=
|
||||
ldflags += -L ../libsystem/build -l:libsystem.a -L ../liballoc/build -l:liballoc.a
|
||||
cflags += -isystem ../libsystem -isystem ../liballoc
|
||||
extra_deps +=
|
||||
|
||||
include src.mk
|
||||
include app.mk
|
||||
include ../generic/flags.mk
|
||||
include ../$(platform)/flags.mk
|
||||
|
||||
FORMAT ?= clang-format -i $$(git ls-files '*.c' '*.h')
|
||||
|
||||
all: $(app)
|
||||
|
||||
$(app): $(o)
|
||||
$(ld) -o $@ $(ldflags) -T ../$(platform)/link.ld $^
|
||||
$(app): $(extra_deps) $(o)
|
||||
$(ld) -o $@ $(ldflags) -T ../$(platform)/link.ld $(o)
|
||||
|
||||
%.o: %.c
|
||||
$(cc) -c -o $@ $(cflags) $<
|
||||
@@ -25,6 +28,6 @@ clean:
|
||||
rm -f $(o) $(app)
|
||||
|
||||
format:
|
||||
clang-format -i $$(git ls-files '*.c' '*.h')
|
||||
$(FORMAT)
|
||||
|
||||
.PHONY: all clean format
|
||||
|
||||
Reference in New Issue
Block a user