CFLAGS	=-g

all: test

structs.so: structs.o
	$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^

test: structs.so
	bash alarm.sh
	bash dlopen.sh
	bash math.sh
	bash stat.sh
	bash qsort.sh
	bash strfry.sh
	bash wget.sh
	bash structs.sh
	bash sha1.sh

clean:
	rm -f *.o *.so core *.core
