Tagged articles
27 articles
Page 1 of 1
Linux Tech Enthusiast
Linux Tech Enthusiast
Mar 24, 2026 · Fundamentals

Master Makefile: From Basics to Advanced Techniques

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.

Build AutomationMakefileVariables
0 likes · 6 min read
Master Makefile: From Basics to Advanced Techniques
Code Wrench
Code Wrench
Oct 23, 2025 · Backend Development

Master Go Conditional Compilation: Build Constraints, Tags & Examples

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.

GoMakefileconditional compilation
0 likes · 10 min read
Master Go Conditional Compilation: Build Constraints, Tags & Examples
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Aug 5, 2025 · Fundamentals

Unlock the Secrets of Kernel Module Makefiles: 3 Debugging Tricks Revealed

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.

Build SystemMakefiledebugging
0 likes · 38 min read
Unlock the Secrets of Kernel Module Makefiles: 3 Debugging Tricks Revealed
Liangxu Linux
Liangxu Linux
Jul 31, 2025 · Backend Development

How to Build and Test a Simulated GPIO Character Driver on Linux

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.

GPIOMakefilec++
0 likes · 12 min read
How to Build and Test a Simulated GPIO Character Driver on Linux
Liangxu Linux
Liangxu Linux
Mar 15, 2025 · Fundamentals

How to Quickly Set Up a Full Linux C/C++ Development Environment

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++Development EnvironmentGit
0 likes · 15 min read
How to Quickly Set Up a Full Linux C/C++ Development Environment
Linux Kernel Journey
Linux Kernel Journey
Jan 12, 2025 · Fundamentals

Master CMake Basics: A Simple, Step‑by‑Step Guide to Build Automation

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.

Build AutomationCMakeMakefile
0 likes · 13 min read
Master CMake Basics: A Simple, Step‑by‑Step Guide to Build Automation
Ops Development & AI Practice
Ops Development & AI Practice
May 9, 2024 · Fundamentals

Mastering Makefile: Core Concepts and Practical Examples for Efficient Builds

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.

Build AutomationCompilationMakefile
0 likes · 5 min read
Mastering Makefile: Core Concepts and Practical Examples for Efficient Builds
Open Source Linux
Open Source Linux
Apr 1, 2024 · Fundamentals

Master Makefile: From Basics to Advanced Build Automation

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.

Build AutomationC ProgrammingMakefile
0 likes · 6 min read
Master Makefile: From Basics to Advanced Build Automation
Liangxu Linux
Liangxu Linux
Jul 9, 2023 · Fundamentals

Why Choose Binary Packages Over Building from Source on Linux?

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
Why Choose Binary Packages Over Building from Source on Linux?
21CTO
21CTO
Nov 11, 2021 · Fundamentals

Why Write Linux Kernel Modules? A Step‑by‑Step Guide to Building Your First LKM

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.

C ProgrammingKernel ModuleLinux
0 likes · 13 min read
Why Write Linux Kernel Modules? A Step‑by‑Step Guide to Building Your First LKM
System Architect Go
System Architect Go
Dec 15, 2019 · Operations

Using Makefile to Define Build Commands and Advanced Features

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.

DevOpsGoMake
0 likes · 5 min read
Using Makefile to Define Build Commands and Advanced Features
Liangxu Linux
Liangxu Linux
Jun 14, 2018 · Fundamentals

Master Makefile: Essential Tips, Book Picks, and Article Series

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.

Build AutomationMakefileprogramming tools
0 likes · 6 min read
Master Makefile: Essential Tips, Book Picks, and Article Series
Liangxu Linux
Liangxu Linux
Jun 13, 2018 · Fundamentals

Master Enterprise-Scale Makefiles: Versioning, Libraries, and Build Automation

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.

Build AutomationDynamic LibraryMakefile
0 likes · 6 min read
Master Enterprise-Scale Makefiles: Versioning, Libraries, and Build Automation
Liangxu Linux
Liangxu Linux
Jun 10, 2018 · Backend Development

How to Organize Shared C Code Across Multiple Applications with a Simple Makefile

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.

Build AutomationMakefileShared Code
0 likes · 6 min read
How to Organize Shared C Code Across Multiple Applications with a Simple Makefile
Liangxu Linux
Liangxu Linux
Jun 9, 2018 · Backend Development

How to Compile Multiple C Programs with a Single Makefile

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.

Build SystemMakefileautomation
0 likes · 4 min read
How to Compile Multiple C Programs with a Single Makefile
Liangxu Linux
Liangxu Linux
Jun 8, 2018 · Fundamentals

Mastering Makefiles: From a Simple One‑Line Rule to Smart Automation

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.

Build AutomationC ProgrammingMakefile
0 likes · 9 min read
Mastering Makefiles: From a Simple One‑Line Rule to Smart Automation
Liangxu Linux
Liangxu Linux
Jun 7, 2018 · Fundamentals

Mastering Makefiles: Essential Concepts and Practical Examples

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.

Build AutomationC ProgrammingMakefile
0 likes · 10 min read
Mastering Makefiles: Essential Concepts and Practical Examples
Qunar Tech Salon
Qunar Tech Salon
Dec 8, 2017 · Frontend Development

Internationalization (i18n) Implementation for JSP/VM Frontend Using Gettext and Easygettext

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.

JSPMakefilegettext
0 likes · 13 min read
Internationalization (i18n) Implementation for JSP/VM Frontend Using Gettext and Easygettext
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Sep 26, 2017 · Backend Development

Boost Go Development Efficiency with a Comprehensive Makefile

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.

Build AutomationGoMakefile
0 likes · 5 min read
Boost Go Development Efficiency with a Comprehensive Makefile
Node Underground
Node Underground
Dec 29, 2015 · Backend Development

Master Node.js Unit Testing with npm Scripts, Makefile, and CI

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.

MakefileNode.jscontinuous integration
0 likes · 7 min read
Master Node.js Unit Testing with npm Scripts, Makefile, and CI