Skip to content

Commit

Permalink
Release 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Lartu committed Dec 3, 2019
1 parent 1d0c0c4 commit 956d048
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# | LDPL Version Details |
# +----------------------+

VERSION = '"4.4-dev"' #LDPL Version
VERSION = '"4.4"' #LDPL Version
VERSIONNAME = '"Friendly Falcarius"' #LDPL Version Name

# +-----------------+
Expand All @@ -15,11 +15,11 @@ OBJS = ldpl.o
SOURCE = ldpl.cpp
OUT = ldpl
LPMLOCATION = "~/ldpl/lpm/"
#ifneq ($(shell uname -s),Darwin)
#ifeq ($(shell uname -o),Msys)
#LPMLOCATION = "c:/ldpl/lpm/"
#endif
#endif
# x86 cross compilation options (make x86=true)
ifdef x86
CROSS = -m32
CROSS = -m32
endif
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)'
#Flags for static compilation on Windows and Linux (not Android)
ifneq ($(shell uname -s),Darwin)
Expand All @@ -33,12 +33,12 @@ PREFIX := /usr/local
endif

all: $(OBJS)
$(CXX) -g $(OBJS) -o $(OUT) $(LFLAGS)
$(CXX) -g $(OBJS) -o $(OUT) $(LFLAGS) $(CROSS)
./ldpl ../lpm/lpm.ldpl -o=lpm

ldpl.o: ldpl.cpp ldpl_lib.cpp
awk -f lib-to-string.awk ldpl_lib.cpp > ldpl_included_lib.cpp
$(CXX) $(FLAGS) $(SOURCE)
$(CXX) $(FLAGS) $(CROSS) $(SOURCE)


clean:
Expand Down

0 comments on commit 956d048

Please sign in to comment.