mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
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:
parent
42d810b320
commit
2ce617ce7a
1 changed files with 4 additions and 2 deletions
|
@ -18,7 +18,9 @@ help:
|
|||
|
||||
USEGUI_CFLAGS=
|
||||
# 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),)
|
||||
BASE_CFLAGS+=-ggdb
|
||||
|
@ -47,7 +49,7 @@ win:
|
|||
$(MAKE) USEGUI_CFLAGS="-DUSEGUI -DQCCONLY" R_win
|
||||
|
||||
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:
|
||||
$(MAKE) USEGUI_CFLAGS="" R_qcc
|
||||
|
||||
|
|
Loading…
Reference in a new issue