Divide source code from other stuff

This commit is contained in:
Dr-Noob
2018-06-23 13:04:42 +02:00
parent 3ded41ce44
commit 9f55672aa2
17 changed files with 3 additions and 2 deletions

View File

@@ -3,8 +3,9 @@ CXX=gcc
CXXFLAGS=-g -Wall -Wextra -Werror -fstack-protector-all -pedantic -Wno-unused
SANITY_FLAGS=-Wfloat-equal -Wshadow -Wpointer-arith -Wstrict-overflow=5 -Wformat=2
SOURCE=main.c standart.c extended.c cpuid.c udev.c printer.c args.c global.c
HEADERS=standart.h extended.h cpuid.h udev.h printer.h ascii.h args.h global.h
SRC_DIR=src/
SOURCE=$(SRC_DIR)main.c $(SRC_DIR)standart.c $(SRC_DIR)extended.c $(SRC_DIR)cpuid.c $(SRC_DIR)udev.c $(SRC_DIR)printer.c $(SRC_DIR)args.c $(SRC_DIR)global.c
HEADERS=$(SRC_DIR)standart.h $(SRC_DIR)extended.h $(SRC_DIR)cpuid.h $(SRC_DIR)udev.h $(SRC_DIR)printer.h $(SRC_DIR)ascii.h $(SRC_DIR)args.h $(SRC_DIR)global.h
OUTPUT=cpufetch