##### <UCONIO.H> Makefile #####
##### This is the examples makefile ####
##### by Pablo Vidal - <pablo@pablovidal.org> ######

## Define a compiler to use (gcc by default)
CC=gcc

## Other Definitions
FLAGS=-I../include -L../bin -luconio -Wall -O2 -ggdb -ansi

all: examples

examples: example1 example2 example3 example4 example5 example6 \
	  example7 example8 example9 example10 example11 example12 \

.c:
	@echo "Compiling $* ...."
	@$(CC) $(FLAGS) -o $* -s $<

clean:
	@echo "Cleaning all the binaries..."
	-rm -f example[1-9]
	-rm -f example??
	@echo "Cleaning is done!"
