项目作者: Waz0x

项目描述 :
automakefile synthesis project
高级语言: Shell
项目地址: git://github.com/Waz0x/automakefile.git
创建时间: 2021-09-01T13:33:59Z
项目社区:https://github.com/Waz0x/automakefile

开源协议:

下载


Automakefile

Usage

You need a config file who look like this:

  1. main.c;fakeProj.h
  2. EXEC;fakeProj
  3. calc.c;calc/calc.h fakeProj.h
  4. PROJECT_DIR;fakeProj1
  5. CC;clang
  6. SOURCES_DIR;.
  7. CFLAGS;-ftest-coverage -O2
  8. HEADERS_DIR;include
  9. LIBS_DIR;librarys
  10. BCK_DIR;backup
  11. ZIP;tar
  12. ZIPFLAGS;-cvvf
  13. UNZIP;tar
  14. UNZIPFLAGS;-xvf

Meaning:

  1. main.c;fakeProj.h -> .c file associated with .h file
  2. EXEC;fakeProj -> name of the exeutable
  3. calc.c;calc/calc.h fakeProj.h -> same as the first one
  4. PROJECT_DIR;fakeProj1 -> project dir, everything is said
  5. CC;clang -> compiler
  6. SOURCES_DIR;. -> sources dir, everything is said to
  7. CFLAGS;-ftest-coverage -O2 -> compilation flags
  8. HEADERS_DIR;include -> dir where the headers are located
  9. LIBS_DIR;librarys -> dir where the liraries are located
  10. BCK_DIR;backup -> backup dir
  11. ZIP;tar -> zip binary
  12. ZIPFLAGS;-cvvf -> zipflags
  13. UNZIP;tar -> unzip binary
  14. UNZIPFLAGS;-xvf -> unzipflags