2023-07-31 17:34:43 +03:00
|
|
|
CC = gcc
|
|
|
|
CFLAGS = -O3
|
2022-06-27 16:13:34 +03:00
|
|
|
LIBS = -lcjson
|
2022-06-05 02:56:46 +03:00
|
|
|
|
2023-06-25 21:25:18 +03:00
|
|
|
all: make-libs-string
|
2022-06-05 02:56:46 +03:00
|
|
|
|
2023-06-25 21:25:18 +03:00
|
|
|
make-libs-string:
|
2023-07-31 17:34:43 +03:00
|
|
|
$(CC) $(CFLAGS) -o $@ make-libs-string.c $(LIBS)
|
2022-06-27 16:13:34 +03:00
|
|
|
|
2023-07-31 17:36:48 +03:00
|
|
|
tcc:
|
|
|
|
tcc -O3 -o make-libs-string make-libs-string.c ./cJSON/libcjson.a
|
|
|
|
|
2022-06-05 02:56:46 +03:00
|
|
|
clean:
|
2023-06-25 21:25:18 +03:00
|
|
|
rm make-libs-string
|