update makefile

This commit is contained in:
nullifiedcat 2017-12-08 09:04:09 +03:00
parent d1e7c26bc0
commit c0f714373c
2 changed files with 7 additions and 4 deletions

View File

@ -32,9 +32,12 @@ all:
mkdir -p $(BIN64_DIR)
ifndef ARCH
$(MAKE) clean_objects
$(MAKE) $(TARGET64) -e ARCH=64
$(MAKE) -e ARCH=64
$(MAKE) clean_objects
$(MAKE) $(TARGET32) -e ARCH=32
$(MAKE) -e ARCH=32
else
$(MAKE) clean_objects
$(MAKE) $(TARGET)
endif
install:

View File

@ -47,8 +47,8 @@ void glez_resize(int width, int height);
/* Helper functions */
static inline glez_rgba_t
glez_rgba(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
static inline glez_rgba_t glez_rgba(unsigned char r, unsigned char g,
unsigned char b, unsigned char a)
{
glez_rgba_t result;
result.r = (float) r / 255.0f;