mirror of
https://github.com/ZDoom/zdbsp.git
synced 2024-11-24 12:51:24 +00:00
- Don't force static linking for non-Windows hosts.
- Making profile collection builds should delete leftover gcda files by doing a cleanall, not just a clean. SVN r2363 (trunk)
This commit is contained in:
parent
28e30fbb7b
commit
43abbcc965
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -13,13 +13,13 @@ CFLAGS += -O3 -fomit-frame-pointer -DNDEBUG
|
|||
CFLAGS += -mtune=i686
|
||||
#CFLAGS += -march=k8
|
||||
|
||||
LDFLAGS = -static-libstdc++ -static-libgcc
|
||||
LDFLAGS =
|
||||
RM = rm -f FILE
|
||||
ZLIBDIR = zlib/
|
||||
|
||||
ifeq (Windows_NT,$(OS))
|
||||
EXE = zdbsp.exe
|
||||
LDFLAGS += -luser32 -lgdi32
|
||||
LDFLAGS += -luser32 -lgdi32 -static-libstdc++ -static-libgcc
|
||||
ifneq (msys,$(OSTYPE))
|
||||
RM = del /q /f FILE 2>nul
|
||||
ZLIBDIR = "zlib\"
|
||||
|
@ -72,7 +72,7 @@ endif
|
|||
all: $(EXE)
|
||||
|
||||
profile:
|
||||
$(MAKE) clean
|
||||
$(MAKE) cleanall
|
||||
$(MAKE) all CFLAGS="$(CFLAGS) -fprofile-generate" LDFLAGS="$(LDFLAGS) -lgcov"
|
||||
@echo "Process a few maps, then rebuild with make profile-use"
|
||||
|
||||
|
|
Loading…
Reference in a new issue