OSDN Git Service

Add the script to create the include dicrectory.
authortakemasa <takemasa@Kirchhoff.(none)>
Sat, 3 May 2014 11:20:47 +0000 (20:20 +0900)
committertakemasa <takemasa@Kirchhoff.(none)>
Sat, 3 May 2014 11:20:47 +0000 (20:20 +0900)
Makefile

index 1b42394..f3d5e6c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,8 +13,15 @@ OBJS          = $(VECDIR)/fr32_vector_add.o $(VECDIR)/fr32_vector_add_svv.o \
                                $(VECDIR)/fr32_vector_fill.o
 SUBDIRS = $(FIRDIR) $(VECDIR) $(NCODIR)
 TARGET = libbfin32.a
+INCLUDEDIR = include
 
 all : $(LIB)
+       rm $(INCLUDEDIR) -f -r
+       mkdir $(INCLUDEDIR) 
+       cp $(FIRDIR)/fr32_fir_test.h $(INCLUDEDIR)
+       cp $(VECDIR)/fr32_vector.h $(INCLUDEDIR)
+       cp $(NCODIR)/fr32_nco.h $(INCLUDEDIR)
+       cp bfin32.h $(INCLUDEDIR)
 
 $(LIB):$(SUBDIRS)
        $(AR) $(ARFLAGS) $(TARGET) $(OBJS)