]> rtime.felk.cvut.cz Git - fpga/zynq/canbench-sw.git/blobdiff - system/ip/axi_pwm_coprocessor_1.0/drivers/axi_pwm_coprocessor_v1_0/src/Makefile
Initial design stub for AXI PWM Coprocessor.
[fpga/zynq/canbench-sw.git] / system / ip / axi_pwm_coprocessor_1.0 / drivers / axi_pwm_coprocessor_v1_0 / src / Makefile
diff --git a/system/ip/axi_pwm_coprocessor_1.0/drivers/axi_pwm_coprocessor_v1_0/src/Makefile b/system/ip/axi_pwm_coprocessor_1.0/drivers/axi_pwm_coprocessor_v1_0/src/Makefile
new file mode 100644 (file)
index 0000000..97e5c5c
--- /dev/null
@@ -0,0 +1,26 @@
+COMPILER=
+ARCHIVER=
+CP=cp
+COMPILER_FLAGS=
+EXTRA_COMPILER_FLAGS=
+LIB=libxil.a
+
+RELEASEDIR=../../../lib
+INCLUDEDIR=../../../include
+INCLUDES=-I./. -I${INCLUDEDIR}
+
+INCLUDEFILES=*.h
+LIBSOURCES=*.c
+OUTS = *.o
+
+libs:
+       echo "Compiling axi_pwm_coprocessor..."
+       $(COMPILER) $(COMPILER_FLAGS) $(EXTRA_COMPILER_FLAGS) $(INCLUDES) $(LIBSOURCES)
+       $(ARCHIVER) -r ${RELEASEDIR}/${LIB} ${OUTS}
+       make clean
+
+include:
+       ${CP} $(INCLUDEFILES) $(INCLUDEDIR)
+
+clean:
+       rm -rf ${OUTS}