Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
konect-V committed Aug 14, 2024
1 parent 0d1184a commit 6b53761
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
5 changes: 3 additions & 2 deletions sources/core/apps/datetime/target/amd64/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ VERSION = 0-0-1
CFLAGS = -Werror

LDFLAGS = -Wall \
-lc
-lc \
-lz

# Recursive Wild Card
rwildcard = $(foreach d,$(wildcard $(1:=/*)),$(call rwildcard,$d,$2) $(filter $(subst *,%,$2),$d))
Expand All @@ -36,7 +37,7 @@ $(LIB)/%_c.o: $(SOURCE)/%.c

link:
@ mkdir -m 777 -p $(BIN)
@ $(CC) $(LDFLAGS) -o $(BIN)/datetime $(OBJS) $(LIBRARIES)/libz.a $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a
@ $(CC) $(LDFLAGS) -o $(BIN)/datetime $(OBJS) $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a

tar:
@ mkdir -m 777 -p $(TAR)
Expand Down
5 changes: 3 additions & 2 deletions sources/core/apps/ip/target/amd64/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ VERSION = 0-0-1
CFLAGS = -Werror

LDFLAGS = -Wall \
-lc
-lc \
-lz

# Recursive Wild Card
rwildcard = $(foreach d,$(wildcard $(1:=/*)),$(call rwildcard,$d,$2) $(filter $(subst *,%,$2),$d))
Expand All @@ -36,7 +37,7 @@ $(LIB)/%_c.o: $(SOURCE)/%.c

link:
@ mkdir -m 777 -p $(BIN)
@ $(CC) $(LDFLAGS) -o $(BIN)/ip $(OBJS) $(LIBRARIES)/libz.a $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a
@ $(CC) $(LDFLAGS) -o $(BIN)/ip $(OBJS) $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a

tar:
@ mkdir -m 777 -p $(TAR)
Expand Down
5 changes: 3 additions & 2 deletions sources/core/apps/llm/target/amd64/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ VERSION = 0-0-1
CFLAGS = -Werror

LDFLAGS = -Wall \
-lc
-lc \
-lz

# Recursive Wild Card
rwildcard = $(foreach d,$(wildcard $(1:=/*)),$(call rwildcard,$d,$2) $(filter $(subst *,%,$2),$d))
Expand All @@ -36,7 +37,7 @@ $(LIB)/%_c.o: $(SOURCE)/%.c

link:
@ mkdir -m 777 -p $(BIN)
@ $(CC) $(LDFLAGS) -o $(BIN)/llm $(OBJS) $(LIBRARIES)/libz.a $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a
@ $(CC) $(LDFLAGS) -o $(BIN)/llm $(OBJS) $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a

tar:
@ mkdir -m 777 -p $(TAR)
Expand Down
5 changes: 3 additions & 2 deletions sources/core/apps/store/target/amd64/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ LIB = lib
CFLAGS = -Werror

LDFLAGS = -Wall \
-lc
-lc \
-lz

# Recursive Wild Card
rwildcard = $(foreach d,$(wildcard $(1:=/*)),$(call rwildcard,$d,$2) $(filter $(subst *,%,$2),$d))
Expand All @@ -34,6 +35,6 @@ $(LIB)/%_c.o: $(SOURCE)/%.c

link:
@ mkdir -m 777 -p $(BIN)
@ $(CC) $(LDFLAGS) -o $(BIN)/store $(OBJS) $(LIBRARIES)/libz.a $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a $(LIBRARIES)/libcjson.a
@ $(CC) $(LDFLAGS) -o $(BIN)/store $(OBJS) $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a $(LIBRARIES)/libcjson.a

build: $(OBJS) link
5 changes: 3 additions & 2 deletions sources/core/apps/weather/target/amd64/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ VERSION = 0-0-1
CFLAGS = -Werror

LDFLAGS = -Wall \
-lc
-lc \
-lz

# Recursive Wild Card
rwildcard = $(foreach d,$(wildcard $(1:=/*)),$(call rwildcard,$d,$2) $(filter $(subst *,%,$2),$d))
Expand All @@ -36,7 +37,7 @@ $(LIB)/%_c.o: $(SOURCE)/%.c

link:
@ mkdir -m 777 -p $(BIN)
@ $(CC) $(LDFLAGS) -o $(BIN)/weather $(OBJS) $(LIBRARIES)/libz.a $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a
@ $(CC) $(LDFLAGS) -o $(BIN)/weather $(OBJS) $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a

tar:
@ mkdir -m 777 -p $(TAR)
Expand Down

0 comments on commit 6b53761

Please sign in to comment.