Compare commits

..

8 commits

Author SHA1 Message Date
Crayon2000
87939430ca Add comments 2024-04-02 02:08:23 -04:00
Crayon2000
100b1bd2bf Add comments 2024-04-02 02:08:22 -04:00
Crayon2000
08710a77d2 Allow different texture format 2024-04-02 02:08:22 -04:00
Crayon2000
4215aa06c6 Remove useless loop 2024-04-02 02:08:21 -04:00
Crayon2000
4f9b1c4630 Add id parameter to GRRLIB_LoadTextureTPL 2024-04-02 02:08:21 -04:00
Crayon2000
aca2776eb9 Use less memory allocation 2024-04-02 02:08:20 -04:00
Crayon2000
3bf0a9fb53 Align TPL code with GRRLIB 2024-04-02 02:08:20 -04:00
Crayon2000
2f214b6e38 First limited TPL implementation 2024-04-02 02:08:19 -04:00
2 changed files with 7 additions and 9 deletions

View file

@ -34,8 +34,7 @@ BUILD := build
SOURCES := . SOURCES := .
INCLUDES := . ../lib/pngu INCLUDES := . ../lib/pngu
HDR := $(TARGET).h HDR := $(TARGET).h $(wildcard $(TARGET)/*.h)
INL := $(wildcard $(TARGET)/*.h)
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
# options for code generation # options for code generation
@ -95,10 +94,9 @@ clean:
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
install: install:
@mkdir -p $(DESTDIR)/lib $(DESTDIR)/include/grrlib @mkdir --parents $(DESTDIR)/lib $(DESTDIR)/include
@cp -f $(OUTPUT) $(DESTDIR)/lib @cp --force $(OUTPUT) $(DESTDIR)/lib
@cp -f $(HDR) $(DESTDIR)/include @cp --force --parents $(HDR) $(DESTDIR)/include
@cp -f $(INL) $(DESTDIR)/include/grrlib
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
else else

View file

@ -86,9 +86,9 @@ clean:
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
install: install:
@mkdir -p $(DESTDIR)/lib $(DESTDIR)/include @mkdir --parents $(DESTDIR)/lib $(DESTDIR)/include
@cp -f $(OUTPUT) $(DESTDIR)/lib @cp --force $(OUTPUT) $(DESTDIR)/lib
@cp -f $(HDR) $(DESTDIR)/include @cp --force --parents $(HDR) $(DESTDIR)/include
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
else else