make fe-text build work (to some degree)

failsafe waitline2 need to be used though
This commit is contained in:
berkeviktor@aol.com 2010-08-26 16:40:45 +02:00
parent 009cd28a31
commit 28fa51d48b
2 changed files with 9 additions and 3 deletions

View File

@ -3,8 +3,14 @@ include "..\makeinc.mak"
COMLIB = ..\common\xchatcommon.lib COMLIB = ..\common\xchatcommon.lib
PROG = xchat-text.exe PROG = xchat-text.exe
!ifdef X64
PLATOBJ = msvcrt_win2003.obj
!else
PLATOBJ = msvcrt_winxp.obj
!endif
all: fe-text.obj all: fe-text.obj
link /out:$(PROG) /entry:mainCRTStartup $(LDFLAGS) $(LIBS) $(COMLIB) fe-text.obj link /out:$(PROG) /subsystem:console /nologo $(PLATOBJ) $(LIBS) $(COMLIB) fe-text.obj
fe-text.obj: fe-text.c makefile.mak fe-text.obj: fe-text.c makefile.mak
cl $(CFLAGS) $(GLIB) fe-text.c cl $(CFLAGS) $(GLIB) fe-text.c

View File

@ -3,8 +3,8 @@ all:
@-$(MAKE) /nologo /s /f makefile.mak $@ @-$(MAKE) /nologo /s /f makefile.mak $@
@cd ..\fe-gtk @cd ..\fe-gtk
@-$(MAKE) /nologo /s /f makefile.mak $@ @-$(MAKE) /nologo /s /f makefile.mak $@
# @cd ..\fe-text @cd ..\fe-text
# @-$(MAKE) /nologo /s /f makefile.mak $@ @-$(MAKE) /nologo /s /f makefile.mak $@
clean: clean:
@del common\*.obj @del common\*.obj