You've already forked pil-squasher
mirror of
https://github.com/linux-msm/pil-squasher.git
synced 2026-02-25 13:12:39 -08:00
22 lines
384 B
Makefile
22 lines
384 B
Makefile
OUT := pil-squasher pil-splitter
|
|
|
|
CFLAGS ?= -Wall -g -O2
|
|
LDFLAGS ?=
|
|
prefix ?= /usr/local
|
|
|
|
SRCS := pil-squasher.c pil-splitter.c
|
|
OBJS := $(SRCS:.c=.o)
|
|
|
|
all: $(OUT)
|
|
|
|
%: %.o
|
|
$(CC) $(LDFLAGS) -o $@ $^
|
|
|
|
install: $(OUT)
|
|
install -D -m 755 pil-squasher $(DESTDIR)$(prefix)/bin/pil-squasher
|
|
install -D -m 755 pil-splitter $(DESTDIR)$(prefix)/bin/pil-splitter
|
|
|
|
clean:
|
|
rm -f $(OUT) $(OBJS)
|
|
|