{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "fd09b329",
   "metadata": {},
   "source": [
    "###  Homework 5 assignment."
   ]
  },
  {
   "cell_type": "markdown",
   "id": "b2db3f53",
   "metadata": {},
   "source": [
    "### Code compilation and Makefile\n",
    "\n",
    "Download ```FFT_serial.tgz``` from\n",
    "https://linuxcourse.rutgers.edu/summer2023/html/HW/FFT_serial.tgz\n",
    "\n",
    "- Untar the archive. \n",
    "- Compile the source code into binary file ```fft.x```\n",
    "- Create static library ```libcfft.a``` from ```cffti.c```, ```ccopy.c```, ```cfft2.c```, and ```step.c``` files.\n",
    "- Develop Makefile that include targets for ```fft.x```, and library ```libcfft.a```\n",
    "\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "075e51ff",
   "metadata": {},
   "source": [
    "### Command grep and regular expressions\n",
    "\n",
    "How many times is function ```cfft2``` called in file ```fft_serial.c```? "
   ]
  },
  {
   "cell_type": "markdown",
   "id": "5fdcb4dc",
   "metadata": {},
   "source": [
    "### Python script\n",
    "\n",
    "Develop a python script that accomplishes the same task as command grep above."
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.13.11"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
