aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-04-02 17:48:42 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-12 12:57:06 -0700
commitfd6f4829916ccdbecf3de724b6db09e5c694a5b8 (patch)
tree8baea9ade7d026bd534cad7bb4dbee9d09568426 /Makefile.in
parent96071355b15ea3bd7694d94912e38f30fcb1d31f (diff)
downloadmoo-fd6f4829916ccdbecf3de724b6db09e5c694a5b8.tar.gz
moo-fd6f4829916ccdbecf3de724b6db09e5c694a5b8.tar.xz
moo-fd6f4829916ccdbecf3de724b6db09e5c694a5b8.zip
Type handling cleanup
- use [u]int*_t types (autoconf can verify they exist) - use C99-like macros for printf - abstract Num and Objid out - default to 64 bit integers - un-pointerify floating-point numbers (makes no sense on modern hardware)
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in23
1 files changed, 11 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in
index 24e0bda..61d3fa4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -17,14 +17,7 @@ CC = @CC@
LIBRARIES = @LIBS@
YACC = @YACC@
-CFLAGS = -O
-# If you're using GCC, you may prefer:
-# CFLAGS = -O2 -finline-functions
-#
-# If you're not using GCC, and your compiler doesn't understand the
-# inline keyword, use the following. (This will be fixed in autoconf2
-# upgrade).
-# CFLAGS = -O2 -Dinline=
+CFLAGS = @CFLAGS@
YFLAGS = -d
COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) -c
@@ -97,12 +90,10 @@ restart:
touch restart
configure: configure.in
- # autoconf
- @echo "Not running autoconf; you must do this by hand."
- touch configure
+ autoconf
config.status: configure
- env CC= YACC= ./configure --no-create
+ ./config.status --recheck || ./configure --no-create
Makefile: Makefile.in config.status
@echo "[ $@ : $? ]"
@@ -154,6 +145,14 @@ depend: ${ALL_CSRCS}
ed - Makefile.in < eddep
rm -f eddep makedep
+.SUFFIXES: .c .o .i .s
+.c.o:
+ ${CC} ${CFLAGS} -c -o $@ $<
+.c.i:
+ ${CC} ${CFLAGS} -E -o $@ $<
+.c.s:
+ ${CC} ${CFLAGS} -S -o $@ $<
+
###############################################################################
# $Log$
# Revision 1.10 2006/12/06 23:44:24 wrog