1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
include "..\makeinc.mak" COMLIB = ..\common\xchatcommon.lib PROG = xchat-text.exe !ifdef X64 PLATOBJ = msvcrt_win2003.obj !else PLATOBJ = msvcrt_winxp.obj !endif all: fe-text.obj link /out:$(PROG) /subsystem:console /nologo $(PLATOBJ) $(LIBS) $(COMLIB) fe-text.obj fe-text.obj: fe-text.c makefile.mak cl $(CFLAGS) $(GLIB) fe-text.c clean: @del *.obj @del $(PROG)