-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathMakefile
51 lines (46 loc) · 2.56 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
TOOLS_DIR=../../tools
ENUM_DIR=../../ir/enum
TYPES_DIR=../../ir/types
all: gen
${TOOLS_DIR}/string2enum:
make -C ${TOOLS_DIR}
gen: ${TOOLS_DIR}/string2enum
${TOOLS_DIR}/string2enum -linecomment -type AllocKind ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type AtomicOp ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type AtomicOrdering ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type CallingConv ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type ChecksumKind ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type ClauseType ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type DIFlag ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type DISPFlag ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type DLLStorageClass ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type DwarfAttEncoding ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type DwarfCC ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type DwarfLang ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type DwarfMacinfo ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type DwarfOp ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type DwarfTag ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type DwarfVirtuality ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type EmissionKind ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type FastMathFlag ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type FPred ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type FuncAttr ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type IPred ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type Linkage ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type NameTableKind ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type OverflowFlag ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type ParamAttr ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type Preemption ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type ReturnAttr ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type SanitizerKind ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type SelectionKind ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type Tail ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type TLSModel ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type UnnamedAddr ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type UnwindTableKind ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type Visibility ${ENUM_DIR}
${TOOLS_DIR}/string2enum -linecomment -type FloatKind -pkg enum ${TYPES_DIR}
goimports -w *.go
clean:
$(RM) *_string.go
.PHONY: all gen clean