# For gcc
#CC= gcc
# For ANSI compilers
CC= CC -xansi -32

#For debugging
CFLAGS= -g -32

#include path

IPATH  = -I. -I/usr/include -I/usr/include/CC 

# target exec directory (current)
TARGET=.

#--- compilation commands ---

.C.o: 
	$(CC) $(IPATH) -c $(CFLAGS) $<


bat: bapdf.o bapio.o batio.o invio.o
	$(CC) bapdf.o bapio.o batio.o invio.o -o $(TARGET)/bat 


bapdf.o: ./bddef.h 
bapio.o: ./bddef.h
batio.o: ./bddef.h 
invio.o: ./bddef.h 
