mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
Fix building stand-alone libcache1d.so.
git-svn-id: https://svn.eduke32.com/eduke32@4187 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4d8071e6b3
commit
a783933726
2 changed files with 3 additions and 1 deletions
|
@ -356,7 +356,7 @@ $(OBJ)/%.$o: $(RSRC)/%.c
|
|||
|
||||
libcache1d.so: $(SRC)/cache1d.c
|
||||
$(COMPILE_STATUS)
|
||||
if $(COMPILER) -Wall -Wextra -DCACHE1D_COMPRESS_ONLY -shared $< -o $@; then $(COMPILE_OK); else $(COMPILE_FAILED); fi
|
||||
if $(COMPILER) -Wall -Wextra -DCACHE1D_COMPRESS_ONLY -shared -fPIC $< -o $@; then $(COMPILE_OK); else $(COMPILE_FAILED); fi
|
||||
|
||||
$(OBJ)/editor_banner.$o: $(RSRC)/editor_banner.c
|
||||
echo "#include <gdk-pixbuf/gdk-pixdata.h>" > $@
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
# include <stdio.h>
|
||||
# include <string.h>
|
||||
# include <stddef.h>
|
||||
# include <assert.h>
|
||||
|
||||
# define BFILE FILE
|
||||
# define C1D_STATIC
|
||||
|
@ -20,6 +21,7 @@
|
|||
# define B_LITTLE32(x) (x)
|
||||
# define Bmemset memset
|
||||
# define Bmemcpy memcpy
|
||||
# define Bassert assert
|
||||
# define bsize_t size_t
|
||||
#else
|
||||
// cache1d.o for EDuke32
|
||||
|
|
Loading…
Reference in a new issue