aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpancake <pancake@nopcode.org>2010-08-30 23:49:15 +0200
committerpancake <pancake@nopcode.org>2010-08-30 23:49:15 +0200
commitca1f6675a16e306449246868d075a362fc57bead (patch)
tree3bbbcb665279b729d406d4157beb47a129379890 /Makefile
parentdcc7f842bbea23c2e01af0c66d323663ecfbc58c (diff)
downloadst-ca1f6675a16e306449246868d075a362fc57bead.tar.gz
st-ca1f6675a16e306449246868d075a362fc57bead.tar.bz2
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} $<