diff options
| author | Xavi Del Campo <xavi.dcr@tutanota.com> | 2020-01-31 10:32:23 +0100 |
|---|---|---|
| committer | Xavi Del Campo <xavi.dcr@tutanota.com> | 2020-01-31 10:32:23 +0100 |
| commit | 7c24e9a9b02b04dcaf9507acb94091ea70a2c02d (patch) | |
| tree | c28d0748652ad4b4222309e46e6cfc82c0906220 /libhuff/Makefile | |
| parent | a2b7b6bb1cc2f4a3258b7b2dbc92399d151f864d (diff) | |
| download | psxsdk-7c24e9a9b02b04dcaf9507acb94091ea70a2c02d.tar.gz | |
Imported pristine psxsdk-20190410 from official repo
Diffstat (limited to 'libhuff/Makefile')
| -rw-r--r-- | libhuff/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libhuff/Makefile b/libhuff/Makefile new file mode 100644 index 0000000..0016f91 --- /dev/null +++ b/libhuff/Makefile @@ -0,0 +1,23 @@ +# Makefile for libhuff + +include ../Makefile.cfg + +#CC = mipsel-unknown-elf-gcc +#CFLAGS = -I../libpsx/include/ -G0 -O0 -fno-builtin -mno-gpopt -nostdlib -msoft-float -g -Wall + +all: libhuff.a + +huff.o: huff.c + $(CC) $(CFLAGS) -c huff.c + +libhuff.a: huff.o + rm -f libhuff.a + $(AR) r libhuff.a huff.o + $(RANLIB) libhuff.a + +install: all + cp libhuff.a $(TOOLCHAIN_PREFIX)/lib + cp huff.h $(TOOLCHAIN_PREFIX)/include + +clean: + rm -f *.o *.a
\ No newline at end of file |
