You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
604 B
Makefile
32 lines
604 B
Makefile
#
|
|
########################################################################
|
|
#
|
|
# Makefile for library
|
|
#
|
|
########################################################################
|
|
#
|
|
|
|
#INTERFACE = ${BOSSE}/CODES/LIBS_C/Interface
|
|
INTERFACE = ../include
|
|
|
|
INCLUDE = -I${INTERFACE}
|
|
CC = cc
|
|
CCFLAGS =
|
|
|
|
|
|
LIB = libIO_${ARCH}.a
|
|
|
|
NOBJS= inputdata.o inputfiledata.o debuginput.o readdata.o readfile_bin.o writefile.o writefile_bin.o testmemory.o testopenfile.o readdata2.o readdata3.o
|
|
|
|
.c.o:
|
|
${CC} $(INCLUDE) $(CCFLAGS) -c $<
|
|
|
|
# LIBRARY
|
|
$(LIB) : $(NOBJS)
|
|
ar cr $(LIB) $(NOBJS)
|
|
ranlib $(LIB)
|
|
|
|
clean :
|
|
rm *.o
|
|
|