-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
134 lines (134 loc) · 2.88 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
CC = gcc
FLAGS = I.
OUT = ./out
SRC = ./src
FUN = ${SRC}/functions
PON = ${SRC}/ponteiros
ALD = ${SRC}/alocacao_dinamica
ARQ = ${SRC}/arquivos
AVC = ${SRC}/avancado
#Functions
build-void:
${CC} ${FUN}/void.c -o ${OUT}/void
run-void:
${OUT}/void
build-referencia:
${CC} ${FUN}/referencia.c -o ${OUT}/referencia
run-referencia:
${OUT}/referencia
build-array-param:
${CC} ${FUN}/array-param.c -o ${OUT}/array-param
run-array-param:
${OUT}/array-param
build-struct:
${CC} ${FUN}/struct.c -o ${OUT}/struct
run-struct:
${OUT}/struct
build-struct-ref:
${CC} ${FUN}/struct-ref.c -o ${OUT}/struct-ref
run-struct-ref:
${OUT}/struct-ref
build-matriz:
${CC} ${FUN}/matriz.c -o ${OUT}/matriz
run-matriz:
${OUT}/matriz
build-seta:
${CC} ${FUN}/seta.c -o ${OUT}/seta
run-seta:
${OUT}/seta
build-ponteiro:
${CC} ${PON}/ponteiro.c -o ${OUT}/ponteiro
run-ponteiro:
${OUT}/ponteiro
build-comparacoes:
${CC} ${PON}/comparacoes.c -o ${OUT}/comparacoes
run-comparacoes:
${OUT}/comparacoes
build-mem-access:
${CC} ${PON}/mem-access.c -o ${OUT}/mem-access
run-mem-access:
${OUT}/mem-access
build-void2:
${CC} ${PON}/void.c -o ${OUT}/void
run-void2:
${OUT}/void
build-arrays:
${CC} ${PON}/arrays.c -o ${OUT}/arrays
run-arrays:
${OUT}/arrays
build-sizeof:
${CC} ${ALD}/sizeof.c -o ${OUT}/sizeof
run-sizeof:
${OUT}/sizeof
build-malloc:
${CC} ${ALD}/malloc.c -o ${OUT}/malloc
run-malloc:
${OUT}/malloc
build-calloc:
${CC} ${ALD}/calloc.c -o ${OUT}/calloc
run-calloc:
${OUT}/calloc
build-realloc:
${CC} ${ALD}/realloc.c -o ${OUT}/realloc
run-realloc:
${OUT}/realloc
build-free:
${CC} ${ALD}/free.c -o ${OUT}/free
run-free:
${OUT}/free
build-matriz2:
${CC} ${ALD}/matriz.c -o ${OUT}/matriz2
run-matriz2:
${OUT}/matriz2
build-write:
${CC} ${ARQ}/write.c -o ${OUT}/write
run-write:
${OUT}/write
build-fputc:
${CC} ${ARQ}/fputc.c -o ${OUT}/fputc
run-fputc:
${OUT}/fputc
build-fgetc:
${CC} ${ARQ}/fgetc.c -o ${OUT}/fgetc
run-fgetc:
${OUT}/fgetc
build-feof:
${CC} ${ARQ}/feof.c -o ${OUT}/feof
run-feof:
${OUT}/feof
build-ftell:
${CC} ${ARQ}/ftell.c -o ${OUT}/ftell
run-ftell:
${OUT}/ftell
fgets:
${CC} ${ARQ}/fgets.c -o ${OUT}/fgets
fwrite:
${CC} ${ARQ}/fwrite.c -o ${OUT}/fwrite
fread:
${CC} ${ARQ}/fread.c -o ${OUT}/fread
writesize:
${CC} ${ARQ}/writesize.c -o ${OUT}/writesize
readsize:
${CC} ${ARQ}/readsize.c -o ${OUT}/readsize
structwrite:
${CC} ${ARQ}/structwrite.c -o ${OUT}/structwrite
structread:
${CC} ${ARQ}/structread.c -o ${OUT}/structread
fprintf:
${CC} ${ARQ}/fprintf.c -o ${OUT}/fprintf
fscanf:
${CC} ${ARQ}/fscanf.c -o ${OUT}/fscanf
fseek:
${CC} ${ARQ}/fseek.c -o ${OUT}/fseek
ferror:
${CC} ${ARQ}/ferror.c -o ${OUT}/ferror
remove:
${CC} ${ARQ}/remove.c -o ${OUT}/remove
locale:
${CC} ${AVC}/setlocale.c -o ${OUT}/locale
wchar:
${CC} ${AVC}/wchar.c -o ${OUT}/wchar
armazenamento:
${CC} ${AVC}/armazenamento.c -o ${OUT}/armazenamento
regex:
${CC} ${AVC}/regex.c -o ${OUT}/regex