-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
57 lines (46 loc) · 1.71 KB
/
Copy pathmakefile
File metadata and controls
57 lines (46 loc) · 1.71 KB
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
################################################################################
# SGR
################################################################################
-include ../makefile.init
RM := rm -rf
CC := icl
CFLAGS := /Qmic -O3 -c
LFLAGS := /Qmic -o
LIBS := -lpthread -lrt
# All of the sources participating in the build are defined here
-include sources.mk
-include src/subdir.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif
-include ../makefile.defs
# Add inputs and outputs from these tool invocations to the build variables
# All Target
# Tool invocations
all:
@echo 'Building'
pwd
$(CC) $(CFLAGS) Farrar.c $(LIBS) -o ../Release/Farrar.o
$(CC) $(CFLAGS) GeneralFunctions.c $(LIBS) -o ../Release/GeneralFunctions.o
$(CC) $(CFLAGS) ManageDatabase.c $(LIBS) -o ../Release/ManageDatabase.o
$(CC) $(CFLAGS) MultipleQuery.c $(LIBS) -o ../Release/MultipleQuery.o
$(CC) $(CFLAGS) SingleQuery.c $(LIBS) -o ../Release/SingleQuery.o
$(CC) $(CFLAGS) Threads.c $(LIBS) -o ../Release/Threads.o
$(CC) $(CFLAGS) BLVector.c $(LIBS) -o ../Release/BLVector.o
@echo 'Linking'
$(CC) $(LFLAGS) ../Release/BLVector $(LIBS) ../Release/BLVector.o ../Release/SingleQuery.o ../Release/Threads.o ../Release/MultipleQuery.o ../Release/ManageDatabase.o ../Release/GeneralFunctions.o ../Release/Farrar.o
rm /cygdrive/c/Users/galve/mic0fs/executables/BLVector
cp ../Release/BLVector /cygdrive/c/Users/galve/mic0fs/executables/BLVector
chmod 777 /cygdrive/c/Users/galve/mic0fs/executables/BLVector
# Other Targets
clean:
-$(RM) $(OBJS)$(C_DEPS)$(EXECUTABLES) BLVector
-@echo 'Cleaned'
pwd
.PHONY: all clean dependents
.SECONDARY:
-include ../makefile.targets