huge cleanup on build system

This commit is contained in:
berkeviktor@aol.com
2010-08-24 20:03:18 +02:00
parent e0e70fccd4
commit cbcf58aba6
17 changed files with 231 additions and 173 deletions

View File

@@ -15,11 +15,10 @@ mmx_cmod.o: mmx_cmod.S
gcc -DUNDERSCORE_SYMBOLS -c mmx_cmod.S
.c.obj:
$(CC) $(CFLAGS) $(GLIB) $(GTK) $(SPELL) $<
$(CC) $(CFLAGS) -I..\..\plugins $(GLIB) $(GTK) $(SPELL) $<
$(PROG): $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj
$(LINK) /out:$(PROG) /ENTRY:mainCRTStartup $(LDFLAGS) $(LIBS) $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj
@dir $(PROG)
$(LINK) /out:$(PROG) /entry:mainCRTStartup $(LDFLAGS) $(LIBS) $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj
xchat.rc:
echo XC_ICON ICON "../../xchat.ico" > xchat.rc
@@ -28,7 +27,7 @@ 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
cvtres /nologo $(MACHINE_FLAG) /OUT:xchat-icon.obj xchat.res
clean:
del *.obj