Update the qclib-only makefile. linux's gcc didn't like the -l ordering.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5755 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2020-09-08 03:21:27 +00:00
parent 42d810b320
commit 2ce617ce7a

View file

@ -18,7 +18,9 @@ help:
USEGUI_CFLAGS= USEGUI_CFLAGS=
# set to -DUSEGUI when compiling the GUI # set to -DUSEGUI when compiling the GUI
BASE_CFLAGS=$(USEGUI_CFLAGS) WARNING_CFLAGS=-Wno-pointer-sign
BASE_CFLAGS+=$(WARNING_CFLAGS)
BASE_CFLAGS+=$(USEGUI_CFLAGS)
ifneq ($(DEBUG),) ifneq ($(DEBUG),)
BASE_CFLAGS+=-ggdb BASE_CFLAGS+=-ggdb
@ -47,7 +49,7 @@ win:
$(MAKE) USEGUI_CFLAGS="-DUSEGUI -DQCCONLY" R_win $(MAKE) USEGUI_CFLAGS="-DUSEGUI -DQCCONLY" R_win
R_qcc: $(QCC_OBJS) $(COMMON_OBJS) $(TUI_OBJS) R_qcc: $(QCC_OBJS) $(COMMON_OBJS) $(TUI_OBJS)
$(CC) $(BASE_CFLAGS) -o fteqcc.bin -O3 $(BASE_LDFLAGS) -lm $(QCC_OBJS) $(TUI_OBJS) $(COMMON_OBJS) $(CC) $(BASE_CFLAGS) -o fteqcc.bin -O3 $(QCC_OBJS) $(TUI_OBJS) $(COMMON_OBJS) $(BASE_LDFLAGS) -lm
qcc: qcc:
$(MAKE) USEGUI_CFLAGS="" R_qcc $(MAKE) USEGUI_CFLAGS="" R_qcc