diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-04-02 07:29:16 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-04-02 07:29:16 +0200 |
commit | c7ec88c88adb4f15b154ad125977d9c2c4ae4956 (patch) | |
tree | 09b886a96255b141e59747b3d3b375b576b2cdc5 /src/fe-gtk/makefile.mak | |
parent | 876a185af371a92d73725a25ccda3a41fdaebd37 (diff) |
move additions to own repo, so that patch contains only modifications
Diffstat (limited to 'src/fe-gtk/makefile.mak')
-rw-r--r-- | src/fe-gtk/makefile.mak | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/fe-gtk/makefile.mak b/src/fe-gtk/makefile.mak new file mode 100644 index 00000000..3ce9cb5b --- /dev/null +++ b/src/fe-gtk/makefile.mak @@ -0,0 +1,37 @@ +include "..\makeinc.mak" + +!ifdef X64 +MACHINE_FLAG = /MACHINE:X64 +!else +MACHINE_FLAG = /MACHINE:X86 +!endif + +COMLIB = ..\common\xchatcommon.lib +PROG = xchat.exe + +all: $(PROG) + +mmx_cmod.o: mmx_cmod.S + gcc -DUNDERSCORE_SYMBOLS -c mmx_cmod.S + +.c.obj: + $(CC) $(CFLAGS) $(GLIB) $(GTK) $< + +$(PROG): $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj + $(LINK) /out:$(PROG) /ENTRY:mainCRTStartup $(LDFLAGS) $(LIBS) $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj + @dir $(PROG) + +xchat.rc: + echo XC_ICON ICON "../../xchat.ico" > xchat.rc + +xchat.res: xchat.rc ../../xchat.ico + rc /r xchat.rc + +xchat-icon.obj: xchat.res + cvtres /NOLOGO $(MACHINE_FLAG) /OUT:xchat-icon.obj xchat.res + +clean: + del *.obj + del $(PROG) + del xchat.rc + del xchat.RES |