You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
CFLAGS=-Wall -std=c89
|
|
|
|
OBJS=jsmn.o demo.o
|
|
|
|
all: jsmn_demo
|
|
|
|
jsmn_demo: $(OBJS)
|
|
$(CC) $(LDFLAGS) $(OBJS) -o $@
|
|
|
|
%.o: %.c jsmn.h
|
|
$(CC) -c $(CFLAGS) $< -o $@
|
|
|
|
clean:
|
|
rm -f $(OBJS)
|
|
rm -f jsmn_demo
|
|
|
|
.PHONY: clean all
|