1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00
corundum/utils/Makefile
2019-07-17 18:48:50 -07:00

22 lines
233 B
Makefile

PREFIX=/usr/local
BINDIR=$(DESTDIR)$(PREFIX)/bin
CC=gcc
CFLAGS=-O3 -Wall
BIN=perout
all: $(BIN)
perout: perout.c
$(CC) $(CFLAGS) $^ -o $@
install:
install -d $(BINDIR)
install -m 0755 $(BIN) $(BINDIR)
clean:
rm -f $(BIN)