zoukankan      html  css  js  c++  java
  • [C]Makefile 的文件名,注意首字母大写

    如题,

    Makefile的文件名,首字母要大写,首字母要大写,首字母要大写,不然make的时候会出错:

    make -C /lib/modules/4.15.0-132-generic/build M=/home/*****/Documents/testdriver modules

    make[1]: Entering directory '/usr/src/linux-headers-4.15.0-132-generic' scripts/Makefile.build:45: /home/*****/Documents/testdriver/Makefile: No such file or directory

    make[2]: *** No rule to make target '/home/*****/Documents/testdriver/Makefile'. Stop. Makefile:1587: recipe for target '_module_/home/*****/Documents/testdriver' failed

    make[1]: *** [_module_/home/*****/Documents/testdriver] Error 2

    make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-132-generic' makefile:3: recipe for target 'all' failed make: *** [all] Error 2

    不要问我是怎么知道的。。。

  • 相关阅读:
    Codevs堆练习
    codevs 3110 二叉堆练习3
    浅谈堆
    codevs 2924 数独挑战
    搜索技巧——持续更新
    2144 砝码称重 2
    codevs 2928 你缺什么
    codevs 2594 解药还是毒药
    codevs 2147 数星星
    判断素数
  • 原文地址:https://www.cnblogs.com/galaxy-tek/p/14291790.html
Copyright © 2011-2022 走看看