update makefile
This commit is contained in:
parent
d1e7c26bc0
commit
c0f714373c
7
Makefile
7
Makefile
@ -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:
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user