Tagged articles
Makefile
30 articles · Page 1 of 1
A team replaced a core login system in two months without halting feature development by building isolated verification environments using Makefile-standardized builds, a lightweight Kubernetes platform, and custom debugging tools, reducing verification prep time from 30–60 minutes to ~5 minutes and enabling safe fault-injection testing.
AI-assisted developmentKubernetesMakefile
0 likes · 33 min read

The article explains that university C programming courses omit Linux, Makefile, git, and gdb because of limited class hours, outdated curricula, and many instructors' lack of experience, arguing that self‑learning these tools often yields better results.
GitLinuxMakefile
0 likes · 7 min read

This guide walks through installing rpmbuild dependencies, using the open‑source go‑bin‑rpm tool to create a minimal rpm.json configuration, adding optional systemd service definitions, and automating the build and packaging process with a Makefile to produce a ready‑to‑install RPM for a Go binary.
GoMakefileRPM
0 likes · 5 min read

This guide walks through Makefile fundamentals—including targets, dependencies, commands, variables, pattern rules, automatic variables, functions, conditional statements, includes, custom functions, multi‑target handling, phony targets, and debugging techniques—providing concrete examples and code snippets that enable readers to build and manage both small and large projects efficiently.
Makefileautomatic variablesbuild automation
0 likes · 6 min read

Learn how Go’s powerful conditional compilation system—using file suffixes and build tags—enables precise control over platform-specific code, debug/release modes, and feature toggles, with detailed explanations, common pitfalls, a full-featured logger example, Makefile automation, and CI/CD integration.
Conditional CompilationGoMakefile
0 likes · 10 min read

This article walks readers through the inner workings of Linux kernel module Makefiles, demonstrating how to clone example projects, interpret build logs, and apply three powerful debugging techniques—including recursive vs. non‑recursive make, detailed variable tracing, and on‑the‑fly warnings—to demystify the compilation process.
Makefilebuild systemdebugging
0 likes · 38 min read

This tutorial walks through creating a Linux kernel character driver that simulates four GPIO devices, compiles the module, loads it to automatically generate /dev/mygpio0‑3 nodes, and provides a user‑space program to control the GPIO states via ioctl, including full build and cleanup steps.
C++GPIOKernel Driver
0 likes · 12 min read

Learn how to use Makefile to automate compilation, testing, formatting, static analysis, dependency installation, and Docker image creation for Go projects, providing a concise, reproducible workflow that integrates smoothly with CI/CD pipelines.
BackendMakefilebuild automation
0 likes · 6 min read

This step‑by‑step guide shows how to choose a Linux distribution, install GCC, configure Vim/VS Code/CLion, compile and run C/C++ programs, set up debugging with GDB and Valgrind, automate builds with Makefile or CMake, beautify the terminal, and manage code with Git, all with concrete commands and examples.
C++GCCGit
0 likes · 15 min read

This article walks you through why CMake is a more elegant, cross‑platform alternative to hand‑written Makefiles, explains its core benefits, and provides a complete, hands‑on tutorial that covers the basic workflow, a minimal project example, multi‑source handling, and multi‑directory organization with clear code snippets.
C++CMakeMakefile
0 likes · 13 min read

This guide demonstrates how to use Makefile for automating builds by retrieving the current date, exploring different variable assignment operators, looping over multiple hosts, and encapsulating reusable targets with parameter passing, complete with practical code examples and execution steps.
LoopingMakefileShell Commands
0 likes · 6 min read

This article explains the essential Makefile concepts—including targets, dependencies, commands, variables, pattern and implicit rules, includes, conditionals, functions, special variables, and parallel execution—through clear explanations and real‑world code examples to help developers automate and streamline their build processes.
MakefileParallel Buildbuild automation
0 likes · 5 min read

This comprehensive guide walks you through Makefile fundamentals, covering basic syntax, variables, pattern rules, automatic variables, functions, conditional statements, multi-target handling, phony targets, debugging techniques, and advanced custom functions to help you automate and streamline complex build processes.
Continuous IntegrationMakefilebuild automation
0 likes · 6 min read

This guide explains the differences between binary packages and source code installations on Linux, covering how package managers work, the benefits of pre‑compiled binaries, and when compiling from source can be advantageous.
Binary PackagesCMakeLinux
0 likes · 9 min read

This guide walks you through installing the required build tools, configuring go-bin-rpm with a concise rpm.json file, generating RPM packages, and automating the process with a Makefile for seamless Go binary deployment on RPM‑based systems.
MakefileOperationsgo-bin-rpm
0 likes · 5 min read

This guide explains how to create effective Makefiles for Go projects, covering prerequisites, syntax, common Go commands, a full example Makefile, and integration with CI/CD pipelines to streamline building, testing, and deployment.
CI/CDDockerGo
0 likes · 6 min read


21CTONov 11, 2021 · Fundamentals
This tutorial explains why kernel modules are needed, walks through preparing a Linux environment, installing required headers, creating and compiling a simple "Hello, World" module, extending it to a character device driver, and shows how to load, test, and unload the module safely.
Kernel ModuleLinuxMakefile
0 likes · 13 min read

This tutorial walks you through the Linux kernel source layout, required build tools, cross‑compilation setup, how to compile a kernel image, generate device‑tree blobs, build standalone .ko modules, and integrate those modules into a custom kernel for ARM boards.
ARMCross‑compilationLinux
0 likes · 15 min read

This article explains how to set up a well‑configured CI/CD pipeline, create development‑friendly and production‑optimized Docker images for Python applications, and automate the entire workflow with Makefiles, GitHub Actions, and code‑quality tools such as CodeClimate and SonarCloud.
CI/CDDockerGitHub Actions
0 likes · 18 min read

This article explains how to use Makefiles to create custom build commands, define variables, handle recursive targets, incorporate shell output, add conditional checks, and generate help messages, providing practical examples for Go projects and general build automation.
DevOpsGoMakefile
0 likes · 5 min read

This article introduces Makefile as a powerful build tool, recommends beginner-friendly books, and outlines a series of practical articles covering basic concepts, step‑by‑step guides, enterprise examples, and multi‑target techniques to help readers master build automation.
Makefilebuild automationprogramming tools
0 likes · 6 min read

This tutorial presents a complete enterprise‑level Makefile example, detailing version numbering, dynamic library integration, macro definitions, include paths, compilation flags, output directory handling, and clean targets, while also showing the associated source code layout and how to retrieve the full project from the public account.
C++Dynamic LibraryMakefile
0 likes · 6 min read

This article explains a practical approach for managing common C source files shared by several applications by placing the shared code in a dedicated folder and using a Makefile that automatically discovers, compiles, and links both the common and application‑specific files, reducing redundancy and simplifying maintenance.
C++MakefileShared Code
0 likes · 6 min read

This tutorial shows how to write a concise Makefile that automatically discovers all .c files in a directory, builds each into an executable with matching names, and supports easy addition of new programs with a single make command.
GCCMakefileautomation
0 likes · 4 min read

This step‑by‑step tutorial shows how to write a Makefile for a tiny C program, then progressively improves it with separate object files, variables, pattern rules, and built‑in functions like wildcard and patsubst, while explaining each concept and its benefits.
GCCMakefileMakefile Tutorial
0 likes · 9 min read

This guide explains what a Makefile is, its advantages, naming conventions, basic syntax, workflow, common commands, special symbols, variable types, pattern rules, and built‑in functions, providing clear code examples to help developers automate compilation in Linux projects.
Makefilebuild automationc-programming
0 likes · 10 min read

This article describes a frontend engineer's exploration of i18n for JSP and VM pages, detailing the challenges of hard‑coded strings, the use of jquery‑i18next, gettext tools, a custom i18n‑gettext npm package, Makefile automation, and the resulting workflow for extracting, merging and compiling translation files.
JSPMakefileVM
0 likes · 13 min read

This article explains how to replace repetitive manual Go commands like "go build" and "go test" with a well‑structured Makefile, covering variable definitions, common targets, cross‑compilation, Docker builds, and usage examples to streamline and automate Go project workflows.
Cross-compilationGoMakefile
0 likes · 5 min read

By installing ccache and distcc on five machines, mounting source and cache on tmpfs, and fine‑tuning makefile dependencies and environment variables, the QQ Music backend build time was slashed from 30‑40 minutes to about 30 seconds, achieving the one‑minute target.
Compilation SpeedMakefileccache
0 likes · 9 min read

This guide walks through setting up Node.js unit testing using Mocha and Istanbul, streamlining commands with npm scripts and a Makefile, handling glob patterns, and integrating continuous integration with Travis CI or a custom UITest-ci solution.
Continuous IntegrationMakefileNode.js
0 likes · 7 min read
