Unverified Commit 1fc200ff by sterin Committed by GitHub

Merge pull request #7 from sterin/master

Makefile: add support for ABC_USE_STDINT_H
parents 4a39f326 9c78efba
......@@ -43,7 +43,13 @@ $(ARCHFLAGS_EXE) : arch_flags.c
INCLUDES += -I$(ABCSRC)/src
ARCHFLAGS ?= $(shell $(CC) $(ABCSRC)/arch_flags.c -o $(ARCHFLAGS_EXE) && $(ARCHFLAGS_EXE))
# Use C99 stdint.h header for platform-dependent types
ifdef ABC_USE_STDINT_H
ARCHFLAGS ?= -DABC_USE_STDINT_H=1
else
ARCHFLAGS ?= $(shell $(CC) $(ABCSRC)/arch_flags.c -o $(ARCHFLAGS_EXE) && $(ARCHFLAGS_EXE))
endif
ARCHFLAGS := $(ARCHFLAGS)
OPTFLAGS ?= -g -O
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment