Skip to content
Snippets Groups Projects
Commit f41638ee authored by T.Wadi's avatar T.Wadi
Browse files

make file created bug fixed

parent dd34751c
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,8 @@
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "linux-gcc-x64"
"intelliSenseMode": "linux-gcc-x64",
"configurationProvider": "ms-vscode.makefile-tools"
}
],
"version": 4
......
{"buildTargets":["build","build/mainDebug","clean","execute","mainDebug"],"launchTargets":["c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\build>mainDebug()"],"customConfigurationProvider":{"workspaceBrowse":{"browsePath":["c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\include","c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src"],"compilerArgs":["-g","-O0","-Wall","-Wextra","-Wpedantic","-Wconversion","-c","src/tools.c","-o","build/tools.o","-g","-O0","-Wall","-Wextra","-Wpedantic","-Wconversion","-c","src/tools.c","-o","build/tools.o"]},"fileIndex":[["c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\cds.c",{"uri":{"$mid":1,"fsPath":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\cds.c","_sep":1,"path":"/c:/Users/touil/OneDrive/Dokumente/Uni/informatik-2/src/cds.c","scheme":"file"},"configuration":{"defines":[],"standard":"gnu11","includePath":["c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\include"],"forcedInclude":[],"compilerPath":"C:\\cygwin64\\bin\\gcc.exe","compilerArgs":["-g","-O0","-Wall","-Wextra","-Wpedantic","-Wconversion","-c","src/cds.c","-o","build/cds.o"]},"compileCommand":{"command":"gcc -g -O0 -std=gnu11 -Wall -Wextra -Wpedantic -Wconversion -I include -c src/cds.c -o build/cds.o","directory":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2","file":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\cds.c"}}],["c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\datetime.c",{"uri":{"$mid":1,"fsPath":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\datetime.c","_sep":1,"path":"/c:/Users/touil/OneDrive/Dokumente/Uni/informatik-2/src/datetime.c","scheme":"file"},"configuration":{"defines":[],"standard":"gnu11","includePath":["c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\include"],"forcedInclude":[],"compilerPath":"C:\\cygwin64\\bin\\gcc.exe","compilerArgs":["-g","-O0","-Wall","-Wextra","-Wpedantic","-Wconversion","-c","src/datetime.c","-o","build/datetime.o"]},"compileCommand":{"command":"gcc -g -O0 -std=gnu11 -Wall -Wextra -Wpedantic -Wconversion -I include -c src/datetime.c -o build/datetime.o","directory":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2","file":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\datetime.c"}}],["c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\main.c",{"uri":{"$mid":1,"fsPath":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\main.c","_sep":1,"path":"/c:/Users/touil/OneDrive/Dokumente/Uni/informatik-2/src/main.c","scheme":"file"},"configuration":{"defines":[],"standard":"gnu11","includePath":["c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\include"],"forcedInclude":[],"compilerPath":"C:\\cygwin64\\bin\\gcc.exe","compilerArgs":["-g","-O0","-Wall","-Wextra","-Wpedantic","-Wconversion","-c","src/main.c","-o","build/main.o"]},"compileCommand":{"command":"gcc -g -O0 -std=gnu11 -Wall -Wextra -Wpedantic -Wconversion -I include -c src/main.c -o build/main.o","directory":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2","file":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\main.c"}}],["c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\menu.c",{"uri":{"$mid":1,"fsPath":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\menu.c","_sep":1,"path":"/c:/Users/touil/OneDrive/Dokumente/Uni/informatik-2/src/menu.c","scheme":"file"},"configuration":{"defines":[],"standard":"gnu11","includePath":["c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\include"],"forcedInclude":[],"compilerPath":"C:\\cygwin64\\bin\\gcc.exe","compilerArgs":["-g","-O0","-Wall","-Wextra","-Wpedantic","-Wconversion","-c","src/menu.c","-o","build/menu.o"]},"compileCommand":{"command":"gcc -g -O0 -std=gnu11 -Wall -Wextra -Wpedantic -Wconversion -I include -c src/menu.c -o build/menu.o","directory":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2","file":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\menu.c"}}],["c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\tools.c",{"uri":{"$mid":1,"fsPath":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\tools.c","_sep":1,"external":"file:///c%3A/Users/touil/OneDrive/Dokumente/Uni/informatik-2/src/tools.c","path":"/c:/Users/touil/OneDrive/Dokumente/Uni/informatik-2/src/tools.c","scheme":"file"},"configuration":{"defines":[],"standard":"gnu11","includePath":["c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\include"],"forcedInclude":[],"compilerPath":"C:\\cygwin64\\bin\\gcc.exe","compilerArgs":["-g","-O0","-Wall","-Wextra","-Wpedantic","-Wconversion","-c","src/tools.c","-o","build/tools.o"]},"compileCommand":{"command":"gcc -g -O0 -std=gnu11 -Wall -Wextra -Wpedantic -Wconversion -I include -c src/tools.c -o build/tools.o","directory":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2","file":"c:\\Users\\touil\\OneDrive\\Dokumente\\Uni\\informatik-2\\src\\tools.c"}}]]}}
\ No newline at end of file
make.exe --dry-run --keep-going --print-directory
make: Entering directory '/cygdrive/c/Users/touil/OneDrive/Dokumente/Uni/informatik-2'
make: Nothing to be done for 'build'.
make: Leaving directory '/cygdrive/c/Users/touil/OneDrive/Dokumente/Uni/informatik-2'
make.exe all --print-data-base --no-builtin-variables --no-builtin-rules --question
make: *** No rule to make target 'all'. Stop.
# GNU Make 4.3
# Built for x86_64-pc-cygwin
# Copyright (C) 1988-2020 Free Software Foundation, Inc.
# License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
# This is free software: you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.
# Make data base, printed on Mon May 16 14:08:21 2022
# Variables
# environment
FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
# makefile (from 'Makefile', line 5)
C_COMPILER = gcc
# environment
SYSTEMDRIVE = C:
# environment
LC_ALL = C
# environment
USERPROFILE = C:\Users\touil
# environment
VBOX_MSI_INSTALL_PATH = C:\Program Files\Oracle\VirtualBox\
# environment
LOCALAPPDATA = C:\Users\touil\AppData\Local
# environment
VSCODE_IPC_HOOK_EXTHOST = \\.\pipe\vscode-ipc-2d88ccd9-b215-4e0e-8a99-936cd22efa47-sock
# environment
VSCODE_CWD = C:\Users\touil\AppData\Local\Programs\Microsoft VS Code
# environment
SYSTEMROOT = C:\WINDOWS
# environment
PROCESSOR_LEVEL = 23
# environment
PSMODULEPATH = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
# default
MAKE_COMMAND := make
# environment
SPITRANS = USB
# automatic
@D = $(patsubst %/,%,$(dir $@))
# environment
CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_22376_AVQVVAHJECTPQIAE
# makefile (from 'Makefile', line 27)
INCLUDE_DIR = include
# environment
FPS_BROWSER_USER_PROFILE_STRING = Default
# environment
VSCODE_HANDLES_UNCAUGHT_ERRORS = true
# default
.VARIABLES :=
# automatic
%D = $(patsubst %/,%,$(dir $%))
# automatic
^D = $(patsubst %/,%,$(dir $^))
# environment
VSCODE_LOG_STACK = false
# automatic
%F = $(notdir $%)
# environment
VSCODE_CODE_CACHE_PATH = C:\Users\touil\AppData\Roaming\Code\CachedData\da15b6fd3ef856477bf6f4fb29ba1b7af717770d
# environment
LANG = C
# default
.LOADED :=
# environment
TMP = /cygdrive/c/Users/touil/AppData/Local/Temp
# default
.INCLUDE_DIRS = /usr/include /usr/include
# environment
CONFIGSETROOT = C:\WINDOWS\ConfigSetRoot
# makefile
MAKEFLAGS = pqrR
# environment
ONEDRIVE = C:\Users\touil\OneDrive
# makefile (from 'Makefile', line 6)
C_STANDARD = gnu11
# makefile
CURDIR := /cygdrive/c/Users/touil/OneDrive/Dokumente/Uni/informatik-2
# environment
VSCODE_PIPE_LOGGING = true
# environment
APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL = 1
# automatic
*D = $(patsubst %/,%,$(dir $*))
# environment
PROGRAMFILES = C:\Program Files
# environment
MFLAGS = -pqrR
# default
.SHELLFLAGS := -c
# environment
!C: = c:\Users\touil\OneDrive\Dokumente\Uni\informatik-2
# makefile (from 'Makefile', line 31)
C_SRCS = $(wildcard $(SOURCE_DIR)/*.c)
# environment
COMMONPROGRAMW6432 = C:\Program Files\Common Files
# automatic
+D = $(patsubst %/,%,$(dir $+))
# makefile (from 'Makefile', line 1)
COMPILATION_MODE = Debug
# makefile (from 'Makefile', line 1)
MAKEFILE_LIST := Makefile
# automatic
@F = $(notdir $@)
# environment
VSCODE_VERBOSE_LOGGING = true
# environment
VSCODE_PID = 22376
# makefile (from 'Makefile', line 25)
C_COMPILER_CALL = $(C_COMPILER) $(C_COMPILER_FLAGS)
# automatic
?D = $(patsubst %/,%,$(dir $?))
# automatic
*F = $(notdir $*)
# automatic
<D = $(patsubst %/,%,$(dir $<))
# environment
VSCODE_NLS_CONFIG = {"locale":"de","availableLanguages":{"*":"de"},"_languagePackId":"76abe230f76758c10463f0219f362aef.de","_translationsConfigFile":"C:\\Users\\touil\\AppData\\Roaming\\Code\\clp\\76abe230f76758c10463f0219f362aef.de\\tcf.json","_cacheRoot":"C:\\Users\\touil\\AppData\\Roaming\\Code\\clp\\76abe230f76758c10463f0219f362aef.de","_resolvedLanguagePackCoreLocation":"C:\\Users\\touil\\AppData\\Roaming\\Code\\clp\\76abe230f76758c10463f0219f362aef.de\\da15b6fd3ef856477bf6f4fb29ba1b7af717770d","_corruptedFile":"C:\\Users\\touil\\AppData\\Roaming\\Code\\clp\\76abe230f76758c10463f0219f362aef.de\\corrupted.info","_languagePackSupport":true}
# default
MAKE_HOST := x86_64-pc-cygwin
# environment
PROGRAMDATA = C:\ProgramData
# default
SHELL := /bin/sh
# environment
HOMEPATH = \Users\touil
# default
MAKECMDGOALS := all
# environment
DRIVERDATA = C:\Windows\System32\Drivers\DriverData
# environment
COMSPEC = C:\WINDOWS\system32\cmd.exe
# environment
WINDIR = C:\WINDOWS
# environment
MAKELEVEL := 0
# default
MAKE = $(MAKE_COMMAND)
# environment
PATH = /cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/c/Program Files/Git/cmd:/cygdrive/c/Users/touil/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/Users/touil/AppData/Local/Programs/Microsoft VS Code/bin:/usr/bin
# environment
COMPUTERNAME = DESKTOP-KF3HOTV
# default
MAKEFILES :=
# automatic
^F = $(notdir $^)
# environment
PROMPT = $P$G
# environment
LOGONSERVER = \\DESKTOP-KF3HOTV
# environment
VSCODE_LOG_NATIVE = false
# environment
USERNAME = touil
# environment
COMMONPROGRAMFILES = C:\Program Files\Common Files
# automatic
?F = $(notdir $?)
# environment
PROGRAMW6432 = C:\Program Files
# makefile (from 'Makefile', line 32)
C_OBJECTS = $(patsubst $(SOURCE_DIR)/%.c, $(BUILD_DIR)/%.o, $(C_SRCS))
# environment
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
# automatic
+F = $(notdir $+)
# environment
ORIGINAL_XDG_CURRENT_DESKTOP = undefined
# environment
USERDOMAIN = DESKTOP-KF3HOTV
# 'override' directive
GNUMAKEFLAGS :=
# makefile (from 'Makefile', line 4)
EXECUTABLE_PREFIX = main
# environment
OS = Windows_NT
# makefile (from 'Makefile', line 28)
SOURCE_DIR = src
# makefile
.DEFAULT_GOAL := build
# default
MAKE_VERSION := 4.3
# makefile (from 'Makefile', line 2)
ENABLE_WARNINGS = 1
# environment
PROGRAMFILES(X86) = C:\Program Files (x86)
# environment
USERDOMAIN_ROAMINGPROFILE = DESKTOP-KF3HOTV
# environment
NUMBER_OF_PROCESSORS = 8
# environment
PUBLIC = C:\Users\Public
# environment
ASL.LOG = Destination=file
# environment
APPDATA = C:\Users\touil\AppData\Roaming
# environment
HOMEDRIVE = C:
# environment
PROCESSOR_ARCHITECTURE = AMD64
# environment
VSCODE_AMD_ENTRYPOINT = vs/workbench/api/node/extensionHostProcess
# makefile (from 'Makefile', line 10)
EXECUTABLE_NAME = $(EXECUTABLE_PREFIX)Debug
# makefile (from 'Makefile', line 13)
C_COMPILER_FLAGS = -g -O0 -std=$(C_STANDARD) -Wall -Wextra -Wpedantic -Wconversion
# makefile (from 'Makefile', line 29)
BUILD_DIR = build
# environment
HOME = /home/touil
# environment
COMMONPROGRAMFILES(X86) = C:\Program Files (x86)\Common Files
# environment
ELECTRON_RUN_AS_NODE = 1
# environment
TEMP = /cygdrive/c/Users/touil/AppData/Local/Temp
# environment
VSCODE_IPC_HOOK = \\.\pipe\59d00f53d5d40e1a9f772f22363e8a77-1.67.1-main-sock
# environment
TERM = xterm-256color
# default
.RECIPEPREFIX :=
# automatic
<F = $(notdir $<)
# default
SUFFIXES :=
# environment
ALLUSERSPROFILE = C:\ProgramData
# environment
SESSIONNAME = Console
# makefile (from 'Makefile', line 3)
WARNINGS_AS_ERRORS = 0
# default
.FEATURES := target-specific order-only second-expansion else-if shortest-stem undefine oneshell nocomment grouped-target extra-prereqs archives jobserver output-sync check-symlink guile load
# environment
PROCESSOR_REVISION = 1100
# environment
PROCESSOR_IDENTIFIER = AMD64 Family 23 Model 17 Stepping 0, AuthenticAMD
# variable set hash-table stats:
# Load=114/1024=11%, Rehash=0, Collisions=14/163=9%
# Pattern-specific Variable Values
# No pattern-specific variable values.
# Directories
# src (device 1685372651, inode 6755399441094458): 7 files, no impossibilities.
# . (device 1685372651, inode 16044073672514523): 11 files, no impossibilities.
# 18 files, no impossibilities in 2 directories.
# Implicit Rules
build/%.o: src/%.c
# recipe to execute (from 'Makefile', line 44):
$(C_COMPILER_CALL) -I $(INCLUDE_DIR) -c $< -o $@
# 1 implicit rules, 0 (0.0%) terminal.
# Files
# Not a target:
build/cds.o:
# Implicit rule search has not been done.
# Modification time never checked.
# File has not been updated.
# Not a target:
build/datetime.o:
# Implicit rule search has not been done.
# Modification time never checked.
# File has not been updated.
mainDebug: build/cds.o build/datetime.o build/main.o build/menu.o build/tools.o
# Implicit rule search has not been done.
# Modification time never checked.
# File has not been updated.
# recipe to execute (from 'Makefile', line 37):
$(C_COMPILER_CALL) $^ -o $@
# Not a target:
build/menu.o:
# Implicit rule search has not been done.
# Modification time never checked.
# File has not been updated.
# Not a target:
Makefile:
# Implicit rule search has been done.
# Last modified 2022-05-16 14:05:19.089259
# File has been updated.
# Successfully updated.
clean:
# Phony target (prerequisite of .PHONY).
# Implicit rule search has not been done.
# File does not exist.
# File has not been updated.
# recipe to execute (from 'Makefile', line 40):
rm $(BUILD_DIR)/*.o
##rm $(BUILD_DIR)/*.exe
# Not a target:
.DEFAULT:
# Implicit rule search has not been done.
# Modification time never checked.
# File has not been updated.
# Not a target:
all:
# Command line target.
# Implicit rule search has been done.
# File does not exist.
# File has not been updated.
# Not a target:
build/tools.o:
# Implicit rule search has not been done.
# Modification time never checked.
# File has not been updated.
build: mainDebug
# Phony target (prerequisite of .PHONY).
# Implicit rule search has not been done.
# File does not exist.
# File has not been updated.
# Not a target:
build/main.o:
# Implicit rule search has not been done.
# Modification time never checked.
# File has not been updated.
.PHONY: clean build
# Implicit rule search has not been done.
# Modification time never checked.
# File has not been updated.
# files hash-table stats:
# Load=13/1024=1%, Rehash=0, Collisions=0/32=0%
# VPATH Search Paths
# No 'vpath' search paths.
# No general ('VPATH' variable) search path.
# strcache buffers: 1 (0) / strings = 30 / storage = 260 B / avg = 8 B
# current buf: size = 8162 B / used = 260 B / count = 30 / avg = 8 B
# strcache performance: lookups = 45 / hit rate = 33%
# hash-table stats:
# Load=30/8192=0%, Rehash=0, Collisions=0/45=0%
# Finished Make data base on Mon May 16 14:08:21 2022
# Informatik 2
## Getting started
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
## Add your files
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
```
cd existing_repo
git remote add origin https://gitlab.bht-berlin.de/s83117/informatik-2.git
git branch -M main
git push -uf origin main
```
## Integrate with your tools
- [ ] [Set up project integrations](https://gitlab.bht-berlin.de/s83117/informatik-2/-/settings/integrations)
## Collaborate with your team
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
- [ ] [Automatically merge when pipeline succeeds](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
## Test and Deploy
Use the built-in continuous integration in GitLab.
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
***
# Editing this README
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template.
## Suggestions for a good README
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
## Name
Choose a self-explaining name for your project.
## Description
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
## Badges
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
## Visuals
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
## Installation
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
## Usage
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
## Support
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
## Roadmap
If you have ideas for releases in the future, it is a good idea to list them in the README.
## Contributing
State if you are open to contributions and what your requirements are for accepting them.
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
## Authors and acknowledgment
Show your appreciation to those who have contributed to the project.
## License
For open source projects, say how it is licensed.
## Project status
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
File added
File added
File added
File added
File added
File added
File added
......@@ -6,4 +6,5 @@ void deleteCD();
void searchSong();
void sortCDs();
void ListCDs();
void creatSong();
\ No newline at end of file
void creatSong();
void listOneSong(int , int );
......@@ -42,6 +42,6 @@ void inputDate();
/***********************************Externvariables****************************************/
/************************************************************************************************/
extern int countCDs;
extern sCD CDData[];
extern sCD CDData[MAXCDS];
......@@ -21,9 +21,8 @@ int getSeconds (char* );
int getMinutes(char* );
int getHour(char* );
int getTimeFromString (char* ,sTime *);
void inputTime(char*, sTime);
void outputTime(sTime, unsigned int);
int getTime(char* , unsigned int , sTime* , int );
void inputTime(char *, sTime *);
void printTime (sTime , int );
......
File moved
File moved
File added
build:
gcc *.c -o test
run: build
./test
COMPILATION_MODE ?= Debug
ENABLE_WARNINGS ?= 1
WARNINGS_AS_ERRORS ?= 0
EXECUTABLE_PREFIX ?= main
C_COMPILER ?= gcc
C_STANDARD ?= gnu11
ifeq ($(COMPILATION_MODE), Debug)
C_COMPILER_FLAGS = -g -O0 -std=$(C_STANDARD)
EXECUTABLE_NAME = $(EXECUTABLE_PREFIX)Debug
ifeq ($(ENABLE_WARNINGS), 1)
C_COMPILER_FLAGS += -Wall -Wextra -Wpedantic -Wconversion
endif
else
C_COMPILER_FLAGS = -O3 -Wall -std=$(C_STANDARD)
EXECUTABLE_NAME = $(EXECUTABLE_PREFIX)Release
endif
ifeq ($(WARNINGS_AS_ERRORS), 1)
C_COMPILER_FLAGS += -Werror
endif
C_COMPILER_CALL = $(C_COMPILER) $(C_COMPILER_FLAGS)
INCLUDE_DIR = include
SOURCE_DIR = src
BUILD_DIR = build
C_SRCS = $(wildcard $(SOURCE_DIR)/*.c)
C_OBJECTS = $(patsubst $(SOURCE_DIR)/%.c, $(BUILD_DIR)/%.o, $(C_SRCS))
build: $(BUILD_DIR)/$(EXECUTABLE_NAME)
$(BUILD_DIR)/$(EXECUTABLE_NAME): $(C_OBJECTS)
$(C_COMPILER_CALL) $^ -o $@
execute:
./$(BUILD_DIR)/$(EXECUTABLE_NAME)
clean:
rm test
\ No newline at end of file
rm $(BUILD_DIR)/*.o
##rm $(BUILD_DIR)/*.exe
$(BUILD_DIR)/%.o: $(SOURCE_DIR)/%.c
$(C_COMPILER_CALL) -I $(INCLUDE_DIR) -c $< -o $@
.PHONY: clean build
\ No newline at end of file
+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+
|C|D|-|V|e|r|w|a|l|t|u|n|g| |D|e|l|u|x|e|
+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment