summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpancake2010-08-30 23:49:15 +0200
committerpancake2010-08-30 23:49:15 +0200
commit596bb133a55a6aba13b55795a9a38e29fcf1b38b (patch)
tree3bbbcb665279b729d406d4157beb47a129379890 /Makefile
parent0ba53e48c76a2a2668dfa270cfd0227461c3a91b (diff)
downloadst-596bb133a55a6aba13b55795a9a38e29fcf1b38b.tar.gz
st-596bb133a55a6aba13b55795a9a38e29fcf1b38b.tar.xz
st-596bb133a55a6aba13b55795a9a38e29fcf1b38b.zip
fix build
use config.def.h mechanism add SHELL in config.h
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2fb13ae..5267411 100644
--- a/Makefile
+++ b/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} $<