1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-23 02:16:41 +00:00
hekate/tools/lz/Makefile

17 lines
338 B
Makefile
Raw Normal View History

2020-07-04 20:12:12 +01:00
NATIVE_CC ?= gcc
ifeq (, $(shell which $(NATIVE_CC) 2>/dev/null))
$(error "Native GCC is missing. Please install it first. If it's path is custom, set it with export NATIVE_CC=<path to native gcc toolchain>")
endif
2020-07-04 20:12:12 +01:00
.PHONY: all clean
all: lz77
@echo > /dev/null
clean:
2020-12-26 14:17:03 +00:00
@rm -f lz77
2020-07-04 20:12:12 +01:00
lz77: lz.c lz77.c
@$(NATIVE_CC) -o $@ lz.c lz77.c