forked from p7zip-project/p7zip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile.glb
48 lines (35 loc) · 1.15 KB
/
makefile.glb
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
RM=rm -f
CFLAGS=-c -std=gnu11 -I.\
-I../../../../C \
-I../../../../CPP/myWindows \
-I../../../../CPP/include_windows \
-I../../../../CPP \
$(ALLFLAGS) $(ALLFLAGS_C)
CXXFLAGS=-c -std=gnu++11 -I.\
-I../../../../C \
-I../../../../CPP/myWindows \
-I../../../../CPP/include_windows \
-I../../../../CPP \
$(ALLFLAGS) $(ALLFLAGS_CPP)
PCH_NAME=$(PRE_COMPILED_HEADER)
include makefile.list
include makefile.depend
$(PROG): $(OBJS)
$(CXX) $(ALLFLAGS) $(ALLFLAGS_CPP) $(LOCAL_LINK) -o $(PROG) $(LDFLAGS) $(OBJS) $(LIBS)
debug:
@echo "LOCAL_FLAGS=$(LOCAL_FLAGS)"
@echo "ALLFLAGS=$(ALLFLAGS)"
depend:
rm -f makefile.depend
$(CXX) -MM $(CXXFLAGS) $(SRCS) > makefile.depend
# $(CC) $(DFLAGS) $(SRCS_C) >> makefile.depend
clean:
-@$(RM) $(PROG) core *.exe *.o *~ .*.swp *.orig *.gch $(PROGS)
-@$(RM) -fr SunWS_cache/
-@$(RM) -r .inslog2 pchdir/ tca.map ir.out
-@$(RM) make.log tags 1 2
# CRC32, ASM version
7zCrcOpt_asm.o : ../../../../Asm/x86/7zCrcOpt_asm.asm
$(ASM) -I ../../../../Asm/x86/ ../../../../Asm/x86/7zCrcOpt_asm.asm -o 7zCrcOpt_asm.o
AesOpt.o : ../../../../Asm/x86/AesOpt.asm
$(ASM) -I ../../../../Asm/x86/ ../../../../Asm/x86/AesOpt.asm -o AesOpt.o