This repository has been archived by the owner on Jun 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile.msc
61 lines (50 loc) · 1.61 KB
/
makefile.msc
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
SRCDIR = source
BINDIR = bin
OBJDIR = bin
CFLAGS = /W4 -D_CRT_SECURE_NO_WARNINGS /nologo /Zi $(MINUS_D) /Ox /fp:fast /GL /Gy /openmp
FIXED = /link /fixed:no
WINDOWS_LIBS = user32.lib advapi32.lib kernel32.lib shlwapi.lib
CC = @cl
PARTS = \
$(OBJDIR)\dataset_netflix.obj \
$(OBJDIR)\dataset_netflix_orig.obj \
$(OBJDIR)\dataset_movielens.obj \
$(OBJDIR)\generator_distance.obj \
$(OBJDIR)\generator_entropy.obj \
$(OBJDIR)\generator_greedy_cheat.obj \
$(OBJDIR)\generator_item_avg.obj \
$(OBJDIR)\generator_naive_bayes.obj \
$(OBJDIR)\generator_other_greedy.obj \
$(OBJDIR)\generator_other_greedy_pers.obj \
$(OBJDIR)\generator_popularity.obj \
$(OBJDIR)\generator_predictor.obj \
$(OBJDIR)\generator_random.obj \
$(OBJDIR)\generator_tree.obj \
$(OBJDIR)\metric_mae.obj \
$(OBJDIR)\metric_nmae.obj \
$(OBJDIR)\metric_nrmse.obj \
$(OBJDIR)\metric_rmse.obj \
$(OBJDIR)\param_block.obj \
$(OBJDIR)\predictor_constant.obj \
$(OBJDIR)\predictor_global_avg.obj \
$(OBJDIR)\predictor_item_avg.obj \
$(OBJDIR)\predictor_item_knn.obj \
$(OBJDIR)\predictor_korbell.obj \
$(OBJDIR)\predictor_random.obj \
$(OBJDIR)\predictor_user_avg.obj \
$(OBJDIR)\predictor_user_knn.obj \
$(OBJDIR)\stats.obj
CSP_TARGETS = \
$(BINDIR)\csp.exe
all : $(PARTS) $(CSP_TARGETS)
{$(SRCDIR)\}.c{$(OBJDIR)\}.obj:
$(CC) $(CFLAGS) /c /Tp $< /Fo$@
{$(OBJDIR)\}.obj{$(BINDIR)\}.exe:
@echo Building $@...
$(CC) $(CFLAGS) $*.obj $(PARTS) $(WINDOWS_LIBS) $(EXTRA_LIBS) /Fe$@ $(FIXED)
$(CSP_TARGETS) : $(PARTS)
$(PARTS) : makefile.msc $(EXTRA_LIBS)
.PHONY : clean
clean :
del /s *.obj *.exe *.ilk *.pdb *.suo *.lib
!include makefile.msc.dependencies