fix build
use config.def.h mechanism add SHELL in config.h
This commit is contained in:
parent
0ba53e48c7
commit
596bb133a5
3 changed files with 13 additions and 9 deletions
5
Makefile
5
Makefile
|
@ -8,12 +8,15 @@ OBJ = ${SRC:.c=.o}
|
|||
|
||||
all: options st
|
||||
|
||||
options:
|
||||
options: options
|
||||
@echo st build options:
|
||||
@echo "CFLAGS = ${CFLAGS}"
|
||||
@echo "LDFLAGS = ${LDFLAGS}"
|
||||
@echo "CC = ${CC}"
|
||||
|
||||
config.h:
|
||||
cp config.def.h config.h
|
||||
|
||||
.c.o:
|
||||
@echo CC $<
|
||||
@${CC} -c ${CFLAGS} $<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue