16 lines
210 B
Makefile
16 lines
210 B
Makefile
CC = gcc
|
|
CFLAGS = -O3
|
|
LIBS = -lcjson
|
|
EXEC = mc-libs-string
|
|
|
|
all: $(EXEC)
|
|
|
|
$(EXEC):
|
|
$(CC) $(CFLAGS) -o $(EXEC) ./src/main.c $(LIBS)
|
|
|
|
tcc:
|
|
tcc -O3 -o $(EXEC) ./src/main.c ./cJSON/libcjson.a
|
|
|
|
clean:
|
|
rm $(EXEC)
|