# sory about non-english comments :^(

OBJS    = base64.o main.o getopt.o implementacion.o
PREFIJO = /usr/local

CC = gcc

base64: $(OBJS)
	gcc $(OBJS) -o base64

base64.o: base64.h base64.c
main.o:	  main.c implementacion.h getopt.h
getopt.o: getopt.h getopt.c

install:
	install -m 755 base64 $(PREFIJO)/bin
	install -m 644 base64.1 $(PREFIJO)/man/man1

clean:
	rm -f $(OBJS) base64