Makefile: add target 'print-compiler-options'.

May come in handy at times. BUILD_LUNATIC.

git-svn-id: https://svn.eduke32.com/eduke32@4194 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-12-06 18:56:46 +00:00
parent 1628debd7c
commit a7ed1a6fe9
1 changed files with 9 additions and 0 deletions

View File

@ -438,6 +438,15 @@ $(OBJ)/%.$o: $(SRC)/%.c
$(COMPILE_STATUS)
if $(COMPILER) $(OURCFLAGS) -c $< -o $@; then $(COMPILE_OK); else $(COMPILE_FAILED); fi
#### Frama-C and related
.PHONY: print-compiler-options
print-compiler-options:
@echo "$(OURCFLAGS)"
#frama-c-check:
# frama-c -machdep x86_64 -cpp-command "gcc -C -E $(OURCFLAGS)" -no-annot -val source/anim.c
#### Utilities
$(OBJ)/%.$o: $(SRC)/util/%.c