mirror of
https://github.com/devproje/devproje.git
synced 2025-04-22 08:39:53 +09:00
feat: current profile update
This commit is contained in:
parent
b61da49f95
commit
b516260cd6
8 changed files with 280 additions and 13 deletions
1
.vscode/configurationCache.log
vendored
Normal file
1
.vscode/configurationCache.log
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"buildTargets":["clean","clear","main.o","profile.out"],"launchTargets":["/Users/projecttl/Sources/devproje>profile.out()"],"customConfigurationProvider":{"workspaceBrowse":{"browsePath":["/Users/projecttl/Sources/devproje"],"compilerArgs":["-c","-o","main.o","main.c"]},"fileIndex":[["/Users/projecttl/Sources/devproje/main.c",{"uri":{"$mid":1,"fsPath":"/Users/projecttl/Sources/devproje/main.c","external":"file:///Users/projecttl/Sources/devproje/main.c","path":"/Users/projecttl/Sources/devproje/main.c","scheme":"file"},"configuration":{"defines":[],"includePath":[],"forcedInclude":[],"compilerPath":"/usr/local/bin/gcc","compilerArgs":["-c","-o","main.o","main.c"],"windowsSdkVersion":""},"compileCommand":{"command":"gcc -c -o main.o main.c","directory":"/Users/projecttl/Sources/devproje","file":"/Users/projecttl/Sources/devproje/main.c"}}]]}}
|
5
.vscode/dryrun.log
vendored
Normal file
5
.vscode/dryrun.log
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
make --dry-run --keep-going --print-directory
|
||||||
|
make: Entering directory `/Users/projecttl/Sources/devproje'
|
||||||
|
make: `profile.out' is up to date.
|
||||||
|
make: Leaving directory `/Users/projecttl/Sources/devproje'
|
||||||
|
|
7
.vscode/settings.json
vendored
Normal file
7
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"makefile.extensionOutputFolder": "./.vscode",
|
||||||
|
"files.associations": {
|
||||||
|
"stdio.h": "c",
|
||||||
|
"typeinfo": "c"
|
||||||
|
}
|
||||||
|
}
|
254
.vscode/targets.log
vendored
Normal file
254
.vscode/targets.log
vendored
Normal file
|
@ -0,0 +1,254 @@
|
||||||
|
make all --print-data-base --no-builtin-variables --no-builtin-rules --question
|
||||||
|
# GNU Make 3.81
|
||||||
|
# Copyright (C) 2006 Free Software Foundation, Inc.
|
||||||
|
# This is free software; see the source for copying conditions.
|
||||||
|
# There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
|
||||||
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
# This program built for i386-apple-darwin11.3.0
|
||||||
|
|
||||||
|
make: *** No rule to make target `all'. Stop.
|
||||||
|
|
||||||
|
|
||||||
|
# Make data base, printed on Fri May 20 10:21:23 2022
|
||||||
|
|
||||||
|
# Variables
|
||||||
|
|
||||||
|
# automatic
|
||||||
|
<D = $(patsubst %/,%,$(dir $<))
|
||||||
|
# automatic
|
||||||
|
?F = $(notdir $?)
|
||||||
|
# environment
|
||||||
|
VSCODE_LOG_NATIVE = false
|
||||||
|
# automatic
|
||||||
|
?D = $(patsubst %/,%,$(dir $?))
|
||||||
|
|
||||||
|
# automatic
|
||||||
|
@D = $(patsubst %/,%,$(dir $@))
|
||||||
|
# automatic
|
||||||
|
@F = $(notdir $@)
|
||||||
|
# makefile
|
||||||
|
CURDIR := /Users/projecttl/Sources/devproje
|
||||||
|
# makefile
|
||||||
|
SHELL = /bin/sh
|
||||||
|
# environment
|
||||||
|
VSCODE_NLS_CONFIG = {"locale":"en-us","availableLanguages":{},"_languagePackSupport":true}
|
||||||
|
# environment
|
||||||
|
_ = /usr/bin/make
|
||||||
|
# makefile (from `Makefile', line 1)
|
||||||
|
MAKEFILE_LIST := Makefile
|
||||||
|
# environment
|
||||||
|
VSCODE_VERBOSE_LOGGING = true
|
||||||
|
# environment
|
||||||
|
__CFBundleIdentifier = com.microsoft.VSCode
|
||||||
|
# environment
|
||||||
|
P9K_SSH = 0
|
||||||
|
# environment
|
||||||
|
VSCODE_IPC_HOOK_EXTHOST = /var/folders/00/21zt7rs96kvf241qdyjgx1mr0000gn/T/vscode-ipc-c3c719ed-b220-4745-867e-0af8caf70c0e.sock
|
||||||
|
# environment
|
||||||
|
VSCODE_CWD = /
|
||||||
|
# environment
|
||||||
|
PATH = /Library/Frameworks/Python.framework/Versions/3.10/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/go/bin://flutter/bin
|
||||||
|
# environment
|
||||||
|
LSCOLORS = Gxfxcxdxbxegedabagacad
|
||||||
|
# environment
|
||||||
|
VSCODE_LOG_STACK = false
|
||||||
|
# environment
|
||||||
|
ELECTRON_RUN_AS_NODE = 1
|
||||||
|
# default
|
||||||
|
.FEATURES := target-specific order-only second-expansion else-if archives jobserver check-symlink
|
||||||
|
# environment
|
||||||
|
SSH_AUTH_SOCK = /private/tmp/com.apple.launchd.AHiXdF2OZh/Listeners
|
||||||
|
# automatic
|
||||||
|
%F = $(notdir $%)
|
||||||
|
# environment
|
||||||
|
VSCODE_PIPE_LOGGING = true
|
||||||
|
# environment
|
||||||
|
PWD = /Users/projecttl/Sources/devproje
|
||||||
|
# environment
|
||||||
|
ORIGINAL_XDG_CURRENT_DESKTOP = undefined
|
||||||
|
# environment
|
||||||
|
VSCODE_AMD_ENTRYPOINT = vs/workbench/api/node/extensionHostProcess
|
||||||
|
# environment
|
||||||
|
HOME = /Users/projecttl
|
||||||
|
# default
|
||||||
|
MAKEFILEPATH = $(shell /usr/bin/xcode-select -print-path 2>/dev/null || echo /Developer)/Makefiles
|
||||||
|
# environment
|
||||||
|
VSCODE_CODE_CACHE_PATH = /Users/projecttl/Library/Application Support/Code/CachedData/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5
|
||||||
|
# environment
|
||||||
|
LOGNAME = projecttl
|
||||||
|
# environment
|
||||||
|
APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL = 1
|
||||||
|
# environment
|
||||||
|
ZSH = /Users/projecttl/.oh-my-zsh
|
||||||
|
# environment
|
||||||
|
VSCODE_HANDLES_UNCAUGHT_ERRORS = true
|
||||||
|
# automatic
|
||||||
|
^D = $(patsubst %/,%,$(dir $^))
|
||||||
|
# makefile (from `Makefile', line 2)
|
||||||
|
obj = main.o
|
||||||
|
# environment
|
||||||
|
XPC_FLAGS = 0x0
|
||||||
|
# default
|
||||||
|
MAKE = $(MAKE_COMMAND)
|
||||||
|
# default
|
||||||
|
MAKECMDGOALS := all
|
||||||
|
# environment
|
||||||
|
SHLVL = 1
|
||||||
|
# default
|
||||||
|
MAKE_VERSION := 3.81
|
||||||
|
# environment
|
||||||
|
USER = projecttl
|
||||||
|
# makefile
|
||||||
|
.DEFAULT_GOAL := profile.out
|
||||||
|
# environment
|
||||||
|
LESS = -R
|
||||||
|
# automatic
|
||||||
|
%D = $(patsubst %/,%,$(dir $%))
|
||||||
|
# default
|
||||||
|
MAKE_COMMAND := /Library/Developer/CommandLineTools/usr/bin/make
|
||||||
|
# default
|
||||||
|
.VARIABLES :=
|
||||||
|
# environment
|
||||||
|
TMPDIR = /var/folders/00/21zt7rs96kvf241qdyjgx1mr0000gn/T/
|
||||||
|
# automatic
|
||||||
|
*F = $(notdir $*)
|
||||||
|
# environment
|
||||||
|
VSCODE_IPC_HOOK = /Users/projecttl/Library/Application Support/Code/1.67.2-main.sock
|
||||||
|
# makefile
|
||||||
|
MAKEFLAGS = Rrqp
|
||||||
|
# environment
|
||||||
|
MFLAGS = -Rrqp
|
||||||
|
# automatic
|
||||||
|
*D = $(patsubst %/,%,$(dir $*))
|
||||||
|
# environment
|
||||||
|
XPC_SERVICE_NAME = application.com.microsoft.VSCode.8229336.8229342
|
||||||
|
# automatic
|
||||||
|
+D = $(patsubst %/,%,$(dir $+))
|
||||||
|
# automatic
|
||||||
|
+F = $(notdir $+)
|
||||||
|
# makefile (from `Makefile', line 3)
|
||||||
|
target = profile.out
|
||||||
|
# environment
|
||||||
|
__CF_USER_TEXT_ENCODING = 0x1F5:0x0:0x0
|
||||||
|
# environment
|
||||||
|
COMMAND_MODE = unix2003
|
||||||
|
# default
|
||||||
|
MAKEFILES :=
|
||||||
|
# automatic
|
||||||
|
<F = $(notdir $<)
|
||||||
|
# environment
|
||||||
|
PAGER = less
|
||||||
|
# environment
|
||||||
|
LC_ALL = C
|
||||||
|
# makefile (from `Makefile', line 1)
|
||||||
|
cc = gcc
|
||||||
|
# automatic
|
||||||
|
^F = $(notdir $^)
|
||||||
|
# default
|
||||||
|
SUFFIXES :=
|
||||||
|
# default
|
||||||
|
.INCLUDE_DIRS = /usr/local/include
|
||||||
|
# environment
|
||||||
|
MAKELEVEL := 0
|
||||||
|
# environment
|
||||||
|
LANG = C
|
||||||
|
# environment
|
||||||
|
VSCODE_PID = 12684
|
||||||
|
# variable set hash-table stats:
|
||||||
|
# Load=70/1024=7%, Rehash=0, Collisions=1/96=1%
|
||||||
|
|
||||||
|
# Pattern-specific Variable Values
|
||||||
|
|
||||||
|
# No pattern-specific variable values.
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
|
||||||
|
|
||||||
|
# . (device 16777220, inode 8452504): 10 files, no impossibilities.
|
||||||
|
|
||||||
|
# 10 files, no impossibilities in 1 directories.
|
||||||
|
|
||||||
|
# Implicit Rules
|
||||||
|
|
||||||
|
# No implicit rules.
|
||||||
|
|
||||||
|
# Files
|
||||||
|
|
||||||
|
# Not a target:
|
||||||
|
all:
|
||||||
|
# Command-line target.
|
||||||
|
# Implicit rule search has been done.
|
||||||
|
# File does not exist.
|
||||||
|
# File has not been updated.
|
||||||
|
# variable set hash-table stats:
|
||||||
|
# Load=0/32=0%, Rehash=0, Collisions=0/0=0%
|
||||||
|
|
||||||
|
profile.out: main.o
|
||||||
|
# Implicit rule search has not been done.
|
||||||
|
# Modification time never checked.
|
||||||
|
# File has not been updated.
|
||||||
|
# commands to execute (from `Makefile', line 6):
|
||||||
|
$(cc) -o $(target) $(obj)
|
||||||
|
|
||||||
|
|
||||||
|
# Not a target:
|
||||||
|
main.c:
|
||||||
|
# Implicit rule search has not been done.
|
||||||
|
# Modification time never checked.
|
||||||
|
# File has not been updated.
|
||||||
|
|
||||||
|
# Not a target:
|
||||||
|
.SUFFIXES:
|
||||||
|
# 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-20 10:21:22
|
||||||
|
# File has been updated.
|
||||||
|
# Successfully updated.
|
||||||
|
# variable set hash-table stats:
|
||||||
|
# Load=0/32=0%, Rehash=0, Collisions=0/0=0%
|
||||||
|
|
||||||
|
# Not a target:
|
||||||
|
.DEFAULT:
|
||||||
|
# Implicit rule search has not been done.
|
||||||
|
# Modification time never checked.
|
||||||
|
# File has not been updated.
|
||||||
|
|
||||||
|
clean:
|
||||||
|
# Implicit rule search has not been done.
|
||||||
|
|
||||||
|
# Modification time never checked.
|
||||||
|
# File has not been updated.
|
||||||
|
# commands to execute (from `Makefile', line 12):
|
||||||
|
rm $(obj) $(target)
|
||||||
|
|
||||||
|
|
||||||
|
main.o: main.c
|
||||||
|
# Implicit rule search has not been done.
|
||||||
|
# Modification time never checked.
|
||||||
|
# File has not been updated.
|
||||||
|
# commands to execute (from `Makefile', line 9):
|
||||||
|
$(cc) -c -o main.o main.c
|
||||||
|
|
||||||
|
|
||||||
|
# files hash-table stats:
|
||||||
|
# Load=8/1024=1%, Rehash=0, Collisions=0/22=0%
|
||||||
|
# VPATH Search Paths
|
||||||
|
|
||||||
|
# No `vpath' search paths.
|
||||||
|
|
||||||
|
# No general (`VPATH' variable) search path.
|
||||||
|
|
||||||
|
# # of strings in strcache: 1
|
||||||
|
# # of strcache buffers: 1
|
||||||
|
# strcache size: total = 4096 / max = 4096 / min = 4096 / avg = 4096
|
||||||
|
# strcache free: total = 4087 / max = 4087 / min = 4087 / avg = 4087
|
||||||
|
|
||||||
|
# Finished Make data base on Fri May 20 10:21:23 2022
|
||||||
|
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -8,5 +8,5 @@ $(target): $(obj)
|
||||||
main.o: main.c
|
main.o: main.c
|
||||||
$(cc) -c -o main.o main.c
|
$(cc) -c -o main.o main.c
|
||||||
|
|
||||||
clear:
|
clean:
|
||||||
rm $(obj) $(target)
|
rm $(obj) $(target)
|
24
main.c
24
main.c
|
@ -1,20 +1,20 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
struct Person {
|
struct person {
|
||||||
char name[20];
|
char *name;
|
||||||
int age;
|
int age;
|
||||||
};
|
};
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
struct Person *dev = malloc(sizeof(struct Person));
|
struct person *project = malloc(sizeof(struct person));
|
||||||
|
project->name = malloc(sizeof(char) * 20);
|
||||||
|
|
||||||
strcpy(dev->name, "Project_TL");
|
strcpy(project->name, "Project_TL");
|
||||||
dev->age = 17; // 한국 만 나이
|
project->age = 18;
|
||||||
|
|
||||||
printf("Hello! I'm %d years old %s Nice to meet you!\n", dev->age, dev->name);
|
printf("Hello! I'm %s, I'm %d years old. Nice to meet you!\n", project->name, project->age);
|
||||||
free(dev);
|
|
||||||
|
free(project);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
BIN
main.o
Normal file
BIN
main.o
Normal file
Binary file not shown.
BIN
profile.out
Executable file
BIN
profile.out
Executable file
Binary file not shown.
Loading…
Reference in a new issue