mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Update makefile
This commit is contained in:
parent
1b147ff7c8
commit
1b45043965
@ -3,16 +3,16 @@ PREFIX=/usr/local
|
|||||||
BINDIR=$(DESTDIR)$(PREFIX)/bin
|
BINDIR=$(DESTDIR)$(PREFIX)/bin
|
||||||
|
|
||||||
CC=gcc
|
CC=gcc
|
||||||
CFLAGS=-O3 -Wall
|
CFLAGS=-O3 -Wall -I../modules/mqnic
|
||||||
|
|
||||||
BIN=mqnic-config mqnic-fw perout
|
BIN=mqnic-config mqnic-fw perout
|
||||||
|
|
||||||
all: $(BIN)
|
all: $(BIN)
|
||||||
|
|
||||||
mqnic-config: mqnic-config.c
|
mqnic-config: mqnic-config.c mqnic.c
|
||||||
$(CC) $(CFLAGS) $^ -o $@
|
$(CC) $(CFLAGS) $^ -o $@
|
||||||
|
|
||||||
mqnic-fw: mqnic-fw.c
|
mqnic-fw: mqnic-fw.c mqnic.c
|
||||||
$(CC) $(CFLAGS) $^ -o $@
|
$(CC) $(CFLAGS) $^ -o $@
|
||||||
|
|
||||||
perout: perout.c
|
perout: perout.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user