LDLIBS = -labc -lm -ldl -lreadline -lpthread

all: demo.c
	gcc -Wall -g -c $< -o demo.o
	g++ -g -o demo demo.o $(LDLIBS)
