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.
jsmn/Makefile

18 lines
218 B

CFLAGS=-Wall -std=c89 -g
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