diff options
| author | John "Lameguy" Wilbert Villamor <lameguy64@gmail.com> | 2021-10-15 09:22:45 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-15 09:22:45 +0800 |
| commit | dd0f088aaa4c6bf013643be2d1d8621dbffdb000 (patch) | |
| tree | d848d6ce007d8bb9357c8b99d6a0a39ec41d244e /tools/lzpack/lzp/makefile | |
| parent | 9e08d1047fa8deeb3ccb3ce9bb11d69e25a52d56 (diff) | |
| parent | eb719a424e6a16fb64209139a32c9f8a7235a929 (diff) | |
| download | psn00bsdk-dd0f088aaa4c6bf013643be2d1d8621dbffdb000.tar.gz | |
Merge pull request #38 from spicyjpeg/cmake
Full CMake support (in place of makefiles)
Diffstat (limited to 'tools/lzpack/lzp/makefile')
| -rw-r--r-- | tools/lzpack/lzp/makefile | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tools/lzpack/lzp/makefile b/tools/lzpack/lzp/makefile deleted file mode 100644 index 83da67d..0000000 --- a/tools/lzpack/lzp/makefile +++ /dev/null @@ -1,30 +0,0 @@ -# This LZP library builds off the lzp sources in libpsn00b/lzp. The only -# difference is this is built with compression enabled specified in the -# lzconfig.h file and the library is built for the host platform. - -TARGET = liblzp.a - -CFILES = $(wildcard ../../../libpsn00b/lzp/*.c) -OFILES = $(addprefix build/, $(notdir $(CFILES:.c=.o))) - -INCLUDE = -I../include -I. - -CFLAGS = -g -O2 - -CC = $(PREFIX)gcc -AR = $(PREFIX)ar -RANLIB = $(PREFIX)ranlib - -all: $(TARGET) - -$(TARGET): $(OFILES) - $(AR) cr $(TARGET) $(OFILES) - $(RANLIB) $(TARGET) - -# Dunno if there's a better way to do this but it works at least -build/%.o: ../../../libpsn00b/lzp/%.c - @mkdir -p $(dir $@) - $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ - -clean: - rm -Rf build $(TARGET)
\ No newline at end of file |
