[v0.01] Update LICENSE and source code extensions
This commit is contained in:
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2018 Dr-Noob
|
Copyright (c) 2021 Dr-Noob
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
4
Makefile
4
Makefile
@@ -7,8 +7,8 @@ PREFIX ?= /usr
|
|||||||
|
|
||||||
SRC_COMMON=src/common/
|
SRC_COMMON=src/common/
|
||||||
|
|
||||||
COMMON_SRC = $(SRC_COMMON)main.c $(SRC_COMMON)args.c $(SRC_COMMON)global.c
|
COMMON_SRC = $(SRC_COMMON)main.cpp $(SRC_COMMON)args.cpp $(SRC_COMMON)global.cpp
|
||||||
COMMON_HDR = $(SRC_COMMON)args.h $(SRC_COMMON)global.h
|
COMMON_HDR = $(SRC_COMMON)args.hpp $(SRC_COMMON)global.hpp
|
||||||
|
|
||||||
SOURCE += $(COMMON_SRC)
|
SOURCE += $(COMMON_SRC)
|
||||||
HEADERS += $(COMMON_HDR)
|
HEADERS += $(COMMON_HDR)
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "args.h"
|
#include "args.hpp"
|
||||||
#include "global.h"
|
#include "global.hpp"
|
||||||
|
|
||||||
struct args_struct {
|
struct args_struct {
|
||||||
bool help_flag;
|
bool help_flag;
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include "global.h"
|
#include "global.hpp"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "args.h"
|
#include "args.hpp"
|
||||||
#include "global.h"
|
#include "global.hpp"
|
||||||
|
|
||||||
static const char* VERSION = "0.01";
|
static const char* VERSION = "0.01";
|
||||||
|
|
||||||
Reference in New Issue
Block a user