mirror of
https://github.com/iustin/mt-st.git
synced 2026-04-26 06:20:29 +00:00
Use CFLAGS and LDFLAGS from environment
Note: this is a patch originating from the Debian packaging.
This commit is contained in:
committed by
Iustin Pop
parent
a7c7d0838e
commit
0ca68642de
6
Makefile
6
Makefile
@@ -1,4 +1,4 @@
|
|||||||
CFLAGS= -Wall -O2
|
#CFLAGS= -Wall -O2
|
||||||
SBINDIR= /sbin
|
SBINDIR= /sbin
|
||||||
BINDIR= /bin
|
BINDIR= /bin
|
||||||
USRBINDIR= /usr/bin
|
USRBINDIR= /usr/bin
|
||||||
@@ -9,10 +9,10 @@ MTDIR=$(BINDIR)
|
|||||||
all: mt stinit
|
all: mt stinit
|
||||||
|
|
||||||
mt: mt.c
|
mt: mt.c
|
||||||
$(CC) $(CFLAGS) -o mt mt.c
|
$(CC) $(CFLAGS) $(LDFLAGS) -o mt mt.c
|
||||||
|
|
||||||
stinit: stinit.c
|
stinit: stinit.c
|
||||||
$(CC) $(CFLAGS) -o stinit stinit.c
|
$(CC) $(CFLAGS) $(LDFLAGS) -o stinit stinit.c
|
||||||
|
|
||||||
install: mt stinit
|
install: mt stinit
|
||||||
install -s mt $(MTDIR)
|
install -s mt $(MTDIR)
|
||||||
|
|||||||
Reference in New Issue
Block a user