diff options
author | James Shaw <jshaw@netsurf-browser.org> | 2008-03-23 22:26:32 +0000 |
---|---|---|
committer | James Shaw <jshaw@netsurf-browser.org> | 2008-03-23 22:26:32 +0000 |
commit | 6cb9eccf4902695aa9c84119e8608b0392e88791 (patch) | |
tree | 2f4feaf38615506d0031a977332ac3b5c7f1c6fc | |
parent | e8ca4a328486334804d3c4d70e445cb0d6c1fac1 (diff) | |
download | librosprite-6cb9eccf4902695aa9c84119e8608b0392e88791.tar.gz librosprite-6cb9eccf4902695aa9c84119e8608b0392e88791.tar.bz2 |
Rename libsprite to librosprite
svn path=/import/jshaw/libsprite/; revision=10012
-rw-r--r-- | trunk/Makefile | 12 | ||||
-rw-r--r-- | trunk/example.c | 2 | ||||
-rw-r--r-- | trunk/librosprite.c (renamed from trunk/libsprite.c) | 2 | ||||
-rw-r--r-- | trunk/librosprite.h (renamed from trunk/libsprite.h) | 0 |
4 files changed, 8 insertions, 8 deletions
diff --git a/trunk/Makefile b/trunk/Makefile index 7c88189..a4cc9b9 100644 --- a/trunk/Makefile +++ b/trunk/Makefile @@ -11,14 +11,14 @@ CFLAGS = -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \ LDFLAGS = -L./ #-Wmissing-declarations -Wmissing-prototypes -example: libsprite.a example.o - ${LD} -g -o $@ example.o ${LDFLAGS} -lsprite -lSDL +example: librosprite.a example.o + ${LD} -g -o $@ example.o ${LDFLAGS} -lrosprite -lSDL -palette2c: libsprite.a palette2c.o - ${LD} -g -o $@ palette2c.o ${LDFLAGS} -lsprite +palette2c: librosprite.a palette2c.o + ${LD} -g -o $@ palette2c.o ${LDFLAGS} -lrosprite -libsprite.a: libsprite.o - ${AR} ${ARFLAGS} libsprite.a libsprite.o +librosprite.a: librosprite.o + ${AR} ${ARFLAGS} librosprite.a librosprite.o %.o: %.c ${CC} -c -g ${CFLAGS} -o $@ $< diff --git a/trunk/example.c b/trunk/example.c index 317efb2..b7baaf3 100644 --- a/trunk/example.c +++ b/trunk/example.c @@ -2,7 +2,7 @@ #include <stdlib.h> #include <SDL/SDL.h> -#include "libsprite.h" +#include "librosprite.h" /* color is 0xrrggbbaa */ void sdl_draw_pixel(SDL_Surface* surface, uint32_t x, uint32_t y, uint32_t color) diff --git a/trunk/libsprite.c b/trunk/librosprite.c index 8c01eb0..06e9ea6 100644 --- a/trunk/libsprite.c +++ b/trunk/librosprite.c @@ -5,7 +5,7 @@ #include <stdbool.h> #include <string.h> -#include "libsprite.h" +#include "librosprite.h" /* reads four bytes, 00, 11, 22 and 33, of a byte array b to give 0x33221100 */ #define BTUINT(b) (b[0] | (b[1] << 8) | (b[2] << 16) | (b[3] << 24)) diff --git a/trunk/libsprite.h b/trunk/librosprite.h index e8bcdee..e8bcdee 100644 --- a/trunk/libsprite.h +++ b/trunk/librosprite.h |