diff options
| author | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-09-12 19:39:17 +0200 |
|---|---|---|
| committer | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-09-12 19:39:17 +0200 |
| commit | cea06fba6de344333365d7ee623ad30d152636a6 (patch) | |
| tree | f546036c96bb16d50c6879d09e3a597a2b42b6b1 /tools/lzpack/lzp | |
| parent | 375322773f1961fe69699ac5691775235b0b39c5 (diff) | |
| download | psn00bsdk-cea06fba6de344333365d7ee623ad30d152636a6.tar.gz | |
Migrated tools to CMake
Diffstat (limited to 'tools/lzpack/lzp')
| -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 |
