diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2009-11-23 15:46:24 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2009-11-23 15:46:24 -0800 |
commit | b6f5aadfccea8bccadd6c56b57fe6f6b80cfc213 (patch) | |
tree | cd71b8fefd57c2c1d4d6e9f7f3a633575f26b03b /Makefile | |
parent | 4a1556a848c5bfb527cecb2b823a750ba63e6f80 (diff) | |
download | txr-b6f5aadfccea8bccadd6c56b57fe6f6b80cfc213.tar.gz txr-b6f5aadfccea8bccadd6c56b57fe6f6b80cfc213.tar.bz2 txr-b6f5aadfccea8bccadd6c56b57fe6f6b80cfc213.zip |
Improving portability. It is no longer assumed that pointers
can be converted to a type long and vice versa. The configure
script tries to detect the appropriate type to use. Also,
some run-time checking is performed in the streams module
to detect which conversions specifier strings to use for
printing numbers.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -59,7 +59,7 @@ clean: .PHONY: distclean distclean: clean - rm -f config.make config.log + rm -f config.h config.make config.log .PHONY: depend depend: @@ -101,3 +101,17 @@ install: $(PROG) config.make: @echo "config.make missing: you didn't run ./configure" @exit 1 + +# +# Special targets used by ./configure +# + +conftest: conftest.c + $(CC) -o $@ $^ + +conftest.o: CFLAGS := $(LANG_FLAGS) + +conftest.o: conftest.c + +conftest.syms: conftest.o + $(NM) -t o -P $^ > $@ |