acls: ac_stdio ac_dirent acls.c
	gcc -ggdb -o acls.exe acls.c ac_stdio.o ac_dirent.o ac_url.o -lcurl -lxml2
	
test: ac_stdio ac_dirent test.c 
	gcc -ggdb -o test.exe test.c ac_stdio.o ac_dirent.o ac_url.o -lcurl -lxml2

ac_stdio: ac_stdio.c ac_stdio.h
	gcc -Wall -c -ggdb ac_stdio.c

ac_dirent: ac_stdio ac_url ac_dirent.h ac_dirent.c
	gcc -I/usr/include/libxml2 -Wall -c -ggdb ac_dirent.c -lxml2

ac_url: ac_url.h ac_url.c
	gcc -Wall -c -ggdb ac_url.c
