mirror of
https://github.com/iustin/mt-st.git
synced 2026-01-11 06:00:12 +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
|
||||
BINDIR= /bin
|
||||
USRBINDIR= /usr/bin
|
||||
@@ -9,10 +9,10 @@ MTDIR=$(BINDIR)
|
||||
all: mt stinit
|
||||
|
||||
mt: mt.c
|
||||
$(CC) $(CFLAGS) -o mt mt.c
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o mt mt.c
|
||||
|
||||
stinit: stinit.c
|
||||
$(CC) $(CFLAGS) -o stinit stinit.c
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o stinit stinit.c
|
||||
|
||||
install: mt stinit
|
||||
install -s mt $(MTDIR)
|
||||
|
||||
Reference in New Issue
Block a user