Commit 3de48d64 authored by deuce's avatar deuce
Browse files

Add a default "Synch" icon for ciolib apps.

parent 163edb2f
!ifdef USE_SDL
CIOLIB-MT_CFLAGS = $(CIOLIB-MT_CFLAGS) -DWITH_SDL -DWIN32 -IC:$(DIRSEP)SDL$(DIRSEP)SDL-1.2.9$(DIRSEP)include
CIOLIB-MT_LIBS = $(CIOLIB-MT_LIBS) C:$(DIRSEP)SDL$(DIRSEP)SDL-1.2.9$(DIRSEP)lib$(DIRSEP)SDL.lib
!endif
......@@ -43,7 +43,7 @@ ifdef USE_SDL
ifeq ($(os),darwin)
CIOLIB-MT_CFLAGS += -DWITH_SDL
CIOLIB-MT_CFLAGS += -I/Library/Frameworks/SDL.framework/Headers
CIOLIB-MT_LIBS += -framework SDL -framework Cocoa -I/Library/Frameworks/SDL.framework/Headers
CIOLIB-MT_LIBS += -framework SDL -framework Cocoa -framework Carbon -I/Library/Frameworks/SDL.framework/Headers
endif
endif
endif
......
......@@ -18,16 +18,20 @@ SRC_ROOT = ..
!include ..\build\Common.bmake # defines clean and output directory rules
!ifdef USE_SDL
MT_CFLAGS = $(MT_CFLAGS) -IC:$(DIRSEP)SDL$(DIRSEP)SDL-1.2.9$(DIRSEP)include -DUSE_SDL
OBJS = $(OBJS) $(MTOBJODIR)$(DIRSEP)sdl_con$(OFILE) $(MTOBJODIR)$(DIRSEP)SDL_win32_main$(OFILE)
!endif
CFLAGS = -w-par -w-csu $(CFLAGS) $(XPDEV-MT_CFLAGS) $(MT_CFLAGS) -I$(CIOLIB_SRC)
CFLAGS = -w-par -w-csu $(CFLAGS) $(XPDEV-MT_CFLAGS) $(CIOLIB-MT_CFLAGS) $(MT_CFLAGS) -I$(CIOLIB_SRC)
OBJS = $(OBJS) $(MTOBJODIR)$(DIRSEP)win32cio$(OFILE)
mtlib: $(LIBODIR)$(DIRSEP)ciolib.res
$(LIBODIR)$(DIRSEP)ciolib.res: ciolib.rc syncicon64.ico
@echo Creating $< ...
$(QUIET)brcc32 -fo$@ -32 ciolib.rc
# SBBS DLL Link Rule
$(CIOLIB-MT_BUILD): $(OBJS)
@echo Creating $< ...
-$(QUIET)$(DELETE) $@
&$(QUIET)tlib $@ +$**
......@@ -31,6 +31,9 @@
* Note: If this box doesn't appear square, then you need to fix your tabs. *
****************************************************************************/
/* Icon file! */
#pragma resource "ciolib.res"
#include <stdarg.h>
#include <stdlib.h> /* malloc */
#include <stdio.h>
......
/* ========================================================================= */
/* Icons. */
/* ========================================================================= */
1 ICON "syncicon64.ico"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment