mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
25 lines
302 B
Makefile
25 lines
302 B
Makefile
|
|
PREFIX=/usr/local
|
|
BINDIR=$(DESTDIR)$(PREFIX)/bin
|
|
|
|
CC=gcc
|
|
CFLAGS=-O3 -Wall
|
|
|
|
BIN=mqnic-config perout
|
|
|
|
all: $(BIN)
|
|
|
|
mqnic-config: mqnic-config.c
|
|
$(CC) $(CFLAGS) $^ -o $@
|
|
|
|
perout: perout.c
|
|
$(CC) $(CFLAGS) $^ -o $@
|
|
|
|
install:
|
|
install -d $(BINDIR)
|
|
install -m 0755 $(BIN) $(BINDIR)
|
|
|
|
clean:
|
|
rm -f $(BIN)
|
|
|