/demos/trunk/pngdemo/pngdemo.c |
---|
19,7 → 19,7 |
#include <stdio.h> |
#include <stdlib.h> |
#include <kernel/kern.h> |
#include <ports/png.h> |
#include <png.h> |
void read_png_file(char *file_name, char **buffer, int *width, int *height, png_byte *color_type) |
{ |
/demos/trunk/pngdemo/makefile |
---|
16,4 → 16,4 |
OBJS= "initfile.o" |
pngdemo: |
make -f $(SUBMAKE) APP=pngdemo INIT= OTHEROBJS=$(OBJS) OTHERINCL= |
make -f $(SUBMAKE) APP=pngdemo INIT= OTHEROBJS=$(OBJS) SHARKOPT="__PNG__ __OLDCHAR__" |