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) mkdir -p $(BIN64_DIR)
ifndef ARCH ifndef ARCH
$(MAKE) clean_objects $(MAKE) clean_objects
$(MAKE) $(TARGET64) -e ARCH=64 $(MAKE) -e ARCH=64
$(MAKE) clean_objects $(MAKE) clean_objects
$(MAKE) $(TARGET32) -e ARCH=32 $(MAKE) -e ARCH=32
else
$(MAKE) clean_objects
$(MAKE) $(TARGET)
endif endif
install: install:

View File

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