diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2009-11-24 15:39:58 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2009-11-24 15:39:58 -0800 |
commit | 1034ea7e8532da25cceb292469e8d90b6041ffab (patch) | |
tree | 5752b9e5b776450499b75e9afe0ccc550a9564a9 /Makefile | |
parent | c9589217a057869582aa6a5ec1dbd048a525455e (diff) | |
download | txr-1034ea7e8532da25cceb292469e8d90b6041ffab.tar.gz txr-1034ea7e8532da25cceb292469e8d90b6041ffab.tar.bz2 txr-1034ea7e8532da25cceb292469e8d90b6041ffab.zip |
Auto-detect what specifiers to use for inline functions.
Allow compiler command to be set independently of full path
for easier compiler switching.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,7 +29,7 @@ -include config.make CFLAGS := -I. -I$(top_srcdir) $(LANG_FLAGS) $(DIAG_FLAGS) \ - $(OPT_FLAGS) $(INLINE_FLAGS) $(DBG_FLAGS) $(PLATFORM_FLAGS) + $(OPT_FLAGS) $(DBG_FLAGS) $(PLATFORM_FLAGS) CFLAGS := $(filter-out $(REMOVE_FLAGS),$(CFLAGS)) OBJS := txr.o lex.yy.o y.tab.o match.o lib.o regex.o gc.o unwind.o stream.o @@ -110,8 +110,8 @@ config.make config.h: conftest: conftest.c $(CC) $(CFLAGS) -o $@ $^ -conftest.o: conftest.c - $(CC) $(CFLAGS) -c -o $@ $^ +conftest2: conftest1.c conftest2.c + $(CC) $(CFLAGS) -o $@ $^ conftest.syms: conftest.o $(NM) -t o -P $^ > $@ |