File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 4
4
# | LDPL Version Details |
5
5
# +----------------------+
6
6
7
- VERSION = '"4.4-dev "' # LDPL Version
7
+ VERSION = '"4.4"' # LDPL Version
8
8
VERSIONNAME = '"Friendly Falcarius"' # LDPL Version Name
9
9
10
10
# +-----------------+
@@ -15,11 +15,11 @@ OBJS = ldpl.o
15
15
SOURCE = ldpl.cpp
16
16
OUT = ldpl
17
17
LPMLOCATION = "~/ldpl/lpm/"
18
- # ifneq ($(shell uname -s),Darwin )
19
- # ifeq ($(shell uname -o),Msys)
20
- # LPMLOCATION = "c:/ldpl/lpm/"
21
- # endif
22
- # endif
18
+ # x86 cross compilation options (make x86=true )
19
+ ifdef x86
20
+ CROSS = -m32
21
+ CROSS = -m32
22
+ endif
23
23
FLAGS = -g -c -Wall -std=gnu++11 -fpermissive -DVERSION=$(VERSION ) -DVERSIONNAME=$(VERSIONNAME ) -DCOMPILEDATE='"$(shell date +% Y-% m-% d) "' -DCOMPILEHOUR='"$(shell date +% H:% M:% S) "' -DLPMLOCATION='$(LPMLOCATION ) '
24
24
# Flags for static compilation on Windows and Linux (not Android)
25
25
ifneq ($(shell uname -s) ,Darwin)
@@ -33,12 +33,12 @@ PREFIX := /usr/local
33
33
endif
34
34
35
35
all : $(OBJS )
36
- $(CXX ) -g $(OBJS ) -o $(OUT ) $(LFLAGS )
36
+ $(CXX ) -g $(OBJS ) -o $(OUT ) $(LFLAGS ) $( CROSS )
37
37
./ldpl ../lpm/lpm.ldpl -o=lpm
38
38
39
39
ldpl.o : ldpl.cpp ldpl_lib.cpp
40
40
awk -f lib-to-string.awk ldpl_lib.cpp > ldpl_included_lib.cpp
41
- $(CXX ) $(FLAGS ) $(SOURCE )
41
+ $(CXX ) $(FLAGS ) $(CROSS ) $( SOURCE )
42
42
43
43
44
44
clean :
You can’t perform that action at this time.
0 commit comments