Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 19fd2b23 authored by deuce's avatar deuce

Compile the resource file when using mingw32.

parent dc0bfff0
......@@ -7,6 +7,7 @@ CFLAGS += $(XPDEV-MT_CFLAGS) $(CIOLIB-MT_CFLAGS)
ifeq ($(os),win32)
OBJS += $(MTOBJODIR)$(DIRSEP)SDL_win32_main$(OFILE)
OBJS += $(MTOBJODIR)$(DIRSEP)win32cio$(OFILE)
OBJS += $(MTOBJODIR)$(DIRSEP)ciolib_res$(OFILE)
else
OBJS += $(MTOBJODIR)$(DIRSEP)curs_cio$(OFILE)
endif
......@@ -58,3 +59,12 @@ $(MTOBJODIR)$(DIRSEP)SDLMain$(OFILE): SDLMain.m
$(QUIET)$(CC) $(CFLAGS) $(CCFLAGS) -o $@ -c $<
endif
ifeq ($(os),win32)
mtlib: $(MTOBJODIR)$(DIRSEP)ciolib_res${OFILE}
dl-mtlib: $(MTOBJODIR)$(DIRSEP)ciolib_res${OFILE}
$(MTOBJODIR)$(DIRSEP)ciolib_res${OFILE}: ciolib.rc syncicon64.ico
@echo Creating $< ...
$(QUIET)${WINDRES} ciolib.rc $@
endif
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