File: makefile.glb

package info (click to toggle)
p7zip 16.02%2Bdfsg-3%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,112 kB
  • sloc: cpp: 167,145; ansic: 14,992; python: 1,911; asm: 1,688; sh: 1,132; makefile: 701
file content (48 lines) | stat: -rw-r--r-- 1,182 bytes parent folder | download | duplicates (5)
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+=$(CPPFLAGS) -c -I. \
-I../../../../C \
-I../../../../CPP/myWindows \
-I../../../../CPP/include_windows \
-I../../../../CPP \
$(ALLFLAGS) $(ALLFLAGS_C)

CXXFLAGS+=$(CPPFLAGS) -c -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