Skip to content

Commit

Permalink
Small adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson committed Dec 26, 2024
1 parent ef22c1c commit dbc0df0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ CFLAGS_BASE_CKB_C_STDLIB = $(CFLAGS_BASE) \
CFLAGS_BASE_LIBC = $(CFLAGS_BASE) \
-I libc \
-I deps/ckb-c-stdlib/libc \
-I deps/ckb-c-stdlib
-I deps/ckb-c-stdlib \
-DCKB_DECLARATION_ONLY
CFLAGS_BASE_NNCP = $(CFLAGS_BASE) \
-I libc \
-I deps/ckb-c-stdlib/libc \
Expand Down Expand Up @@ -109,7 +110,7 @@ build/ckb-c-stdlib/%.o: deps/ckb-c-stdlib/libc/src/%.c

build/libc/%.o: libc/src/%.c
@echo build $<
@$(CC) $(CFLAGS_BASE_LIBC) -DCKB_DECLARATION_ONLY -c -o $@ $<
@$(CC) $(CFLAGS_BASE_LIBC) -c -o $@ $<

build/nncp/%.o: deps/nncp/%.c
@echo build $<
Expand Down

0 comments on commit dbc0df0

Please sign in to comment.