Mercurial > pidgin.yaz
comparison src/Makefile.mingw @ 11561:71945305a87e
[gaim-migrate @ 13825]
Some stuff to make Wingaim run nicely from a USB Drive
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 21 Sep 2005 02:05:08 +0000 |
parents | 5c8210f7cbe2 |
children | f1e07c3332d9 |
comparison
equal
deleted
inserted
replaced
11560:c3bbfca00e85 | 11561:71945305a87e |
---|---|
28 # Compiler and Linker Options | 28 # Compiler and Linker Options |
29 | 29 |
30 CFLAGS = | 30 CFLAGS = |
31 | 31 |
32 DEFINES = -D_WIN32_WINNT=0x0501 | 32 DEFINES = -D_WIN32_WINNT=0x0501 |
33 | |
34 ifeq ($(MAKECMDGOALS), $(TARGET)-portable.exe) | |
35 DEFINES := $(DEFINES) -DPORTABLE | |
36 endif | |
33 | 37 |
34 LDFLAGS = -mwindows | 38 LDFLAGS = -mwindows |
35 | 39 |
36 #-mconsole | 40 #-mconsole |
37 #-mwindows | 41 #-mwindows |
229 # | 233 # |
230 | 234 |
231 $(TARGET).exe: $(TARGET).dll $(EXE_OBJECTS) | 235 $(TARGET).exe: $(TARGET).dll $(EXE_OBJECTS) |
232 $(CC) $(LDFLAGS) $(EXE_OBJECTS) $(LIB_PATHS) $(EXE_LIBS) -o $(TARGET).exe | 236 $(CC) $(LDFLAGS) $(EXE_OBJECTS) $(LIB_PATHS) $(EXE_LIBS) -o $(TARGET).exe |
233 | 237 |
238 $(TARGET)-portable.exe: clean_exe $(EXE_OBJECTS) | |
239 $(CC) $(LDFLAGS) $(EXE_OBJECTS) $(LIB_PATHS) $(EXE_LIBS) -o $(TARGET)-portable.exe | |
240 rm win_gaim.o | |
241 | |
234 ## | 242 ## |
235 ## CLEAN RULES | 243 ## CLEAN RULES |
236 ## | 244 ## |
237 | 245 |
238 clean: | 246 clean: |
239 $(MAKE) -C $(IDLETRACK_TOP) -f Makefile.mingw clean | 247 $(MAKE) -C $(IDLETRACK_TOP) -f Makefile.mingw clean |
240 rm -rf *.o ./win32/*.o | 248 rm -rf *.o ./win32/*.o |
241 rm -rf $(TARGET).dll | 249 rm -rf $(TARGET).dll |
242 rm -rf $(TARGET).lib | 250 rm -rf $(TARGET).lib |
243 rm -rf $(TARGET).exe | 251 rm -rf $(TARGET).exe |
252 | |
253 clean_exe: | |
254 rm -rf win_gaim.o |