Files
rpmsgexport/Makefile
T
2016-12-06 18:11:54 -08:00

18 lines
261 B
Makefile

OUT := rpmsgexport
CFLAGS := -Wall -g -O2
LDFLAGS :=
prefix := /usr/local
SRCS := rpmsgexport.c
OBJS := $(SRCS:.c=.o)
$(OUT): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $^
install: $(OUT)
install -D -m 755 $< $(DESTDIR)$(prefix)/bin/$<
clean:
rm -f $(OUT) $(OBJS)