mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Fixed the makefile so qcc builds again by default.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3198 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b7c8b33b98
commit
dcefeaa8fa
1 changed files with 12 additions and 9 deletions
|
@ -7,14 +7,14 @@ LIB_OBJS=
|
|||
|
||||
CC=gcc -Wall
|
||||
|
||||
DO_CC=$(CC) $(BASE_CFLAGS) -o $@ -c $< $(CFLAGS)
|
||||
|
||||
all: qcc
|
||||
|
||||
USEGUI_CFLAGS=
|
||||
# set to -DUSEGUI when compiling the GUI
|
||||
BASE_CFLAGS=-ggdb $(USEGUI_CFLAGS)
|
||||
|
||||
DO_CC=$(CC) $(BASE_CFLAGS) -o $@ -c $< $(CFLAGS)
|
||||
|
||||
lib:
|
||||
|
||||
R_win_nocyg: $(QCC_OBJS) $(COMMON_OBJS) $(WIN32GUI_OBJS)
|
||||
|
@ -23,15 +23,18 @@ R_nocyg: $(QCC_OBJS) $(COMMON_OBJS) $(WIN32GUI_OBJS)
|
|||
$(CC) $(BASE_CFLAGS) -o fteqcc.exe -O3 -s $(QCC_OBJS) $(COMMON_OBJS) $(WIN32GUI_OBJS) -mno-cygwin -lcomctl32
|
||||
R_win: $(QCC_OBJS) $(COMMON_OBJS) $(WIN32GUI_OBJS)
|
||||
$(CC) $(BASE_CFLAGS) -o fteqcc.exe -O3 -s $(QCC_OBJS) $(COMMON_OBJS) $(WIN32GUI_OBJS) -mwindows -lcomctl32
|
||||
win_nocyg:
|
||||
$(MAKE) USEGUI_CFLAGS=-DUSEGUI R_win_nocyg
|
||||
nocyg:
|
||||
$(MAKE) USEGUI_CFLAGS=-DUSEGUI R_nocyg
|
||||
win:
|
||||
$(MAKE) USEGUI_CFLAGS=-DUSEGUI R_win
|
||||
|
||||
qcc: $(QCC_OBJS) $(COMMON_OBJS)
|
||||
win_nocyg:
|
||||
$(MAKE) USEGUI_CFLAGS="-DUSEGUI -DQCCONLY" R_win_nocyg
|
||||
nocyg:
|
||||
$(MAKE) USEGUI_CFLAGS="-DUSEGUI -DQCCONLY" R_nocyg
|
||||
win:
|
||||
$(MAKE) USEGUI_CFLAGS="-DUSEGUI -DQCCONLY" R_win
|
||||
|
||||
R_qcc: $(QCC_OBJS) $(COMMON_OBJS)
|
||||
$(CC) $(BASE_CFLAGS) -o fteqcc.bin -O3 -s $(QCC_OBJS) $(COMMON_OBJS)
|
||||
qcc:
|
||||
$(MAKE) USEGUI_CFLAGS="-DQCCONLY" R_qcc
|
||||
|
||||
qccmain.o: qccmain.c qcc.h
|
||||
$(DO_CC)
|
||||
|
|
Loading…
Reference in a new issue