-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmakefile.w32
99 lines (65 loc) · 2.82 KB
/
makefile.w32
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
# tested with MS Visual C++ 2010 Express
# build with:
# nmake /F makefiles\makefile.w32 all
!include <win32.mak>
# $(cvars) static link
# $(cvarsdll) dynamically link
# add -O2 to end of line for speed optimization
# add -O1 for size optimization
#comp = $(cc) /wd4996 -D_CRT_SECURE_NO_WARNINGS $(cflags) $(cvars)
comp = $(cc) /wd4996 -D_CRT_SECURE_NO_WARNINGS $(cflags) $(cvarsdll)
#all: abc2midi midi2abc abc2abc mftext yaps midicopy abcmatch
all: abc2midi.exe midi2abc.exe abc2abc.exe mftext.exe yaps.exe midicopy.exe abcmatch.exe
abc2midi.exe: parseabc.obj store.obj genmidi.obj midifile.obj queues.obj parser2.obj stresspat.obj
$(link) $(conflags) -out:abc2midi.exe parseabc.obj store.obj genmidi.obj queues.obj parser2.obj midifile.obj stresspat.obj music.utils.obj
abcmatch.exe: abcmatch.obj matchsup.obj parseabc.obj
$(link) $(conflags) -out:abcmatch.exe abcmatch.obj matchsup.obj parseabc.obj music.utils.obj
midi2abc.exe: midifile.obj midi2abc.obj
$(link) $(conflags) -out:midi2abc.exe midifile.obj midi2abc.obj
abc2abc.exe: parseabc.obj toabc.obj music_utils.obj
$(link) $(conflags) -out:abc2abc.exe parseabc.obj toabc.obj music.utils.obj
mftext.exe: midifile.obj mftext.obj crack.obj
$(link) $(conflags) -out:mftext.exe midifile.obj mftext.obj crack.obj
midicopy.exe: midicopy.obj
$(link) $(conflags) -out:midicopy.exe midicopy.obj
yaps.exe: parseabc.obj yapstree.obj drawtune.obj debug.obj pslib.obj position.obj parser2.obj music_utils.obj
$(link) $(conflags) -out:yaps.exe parseabc.obj yapstree.obj drawtune.obj debug.obj position.obj pslib.obj parser2.obj music_utils.obj $(conlibs)
abcmatch.obj: abcmatch.c abc.h parseabc.h music.utils.h
$(comp) abcmatch.c
crack.obj: crack.c
$(comp) crack.c
debug.obj: debug.c structs.h abc.h
$(comp) debug.c
drawtune.obj: drawtune.c structs.h sizes.h abc.h drawtune.h music.utils.h
$(comp) drawtune.c
genmidi.obj: genmidi.c abc.h midifile.h genmidi.h parseabc.h queues.h
$(comp) genmidi.c
matchsup.obj: matchsup.c abc.h parseabc.h parser2.h music.utils.h
$(comp) matchsup.c
mftext.obj: mftext.c midifile.h
$(comp) mftext.c
midi2abc.obj: midi2abc.c midifile.h
$(comp) midi2abc.c
midifile.obj: midifile.c midifile.h
$(comp) midifile.c
parseabc.obj: parseabc.c abc.h parseabc.h music_utils.h
$(comp) parseabc.c
parser2.obj: parser2.c abc.h parseabc.h parser2.h
$(comp) parser2.c
position.obj: position.c abc.h structs.h sizes.h
$(comp) position.c
pslib.obj: pslib.c drawtune.h
$(comp) pslib.c
queues.obj: queues.c genmidi.h
$(comp) queues.c
store.obj: store.c abc.h parseabc.h midifile.h genmidi.h music.utils.h
$(comp) store.c
stresspat.obj: stresspat.c
$(comp) stresspat.c
toabc.obj: toabc.c abc.h parseabc.h
$(comp) toabc.c
yapstree.obj: yapstree.c abc.h parseabc.h parser2.h structs.h drawtune.h music.utils.h
$(comp) yapstree.c
clean:
del *.obj
del *.exe