Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[tpg/acess2.git] / Usermode / common_settings.mk
1
2
3 CPPFLAGS += $(addprefix -I,$(wildcard $(ACESSUSERDIR)Libraries/*/include_exp/))
4 CPPFLAGS += -I$(ACESSUSERDIR)/include/ -DARCHDIR_is_$(ARCHDIR)
5 CPPFLAGS += -I $(ACESSDIR)/Externals/Output/$(ARCHDIR)/include
6 CFLAGS += -std=gnu99 -g
7 LDFLAGS += -L $(ACESSDIR)/Externals/Output/$(ARCHDIR)/lib
8 LDFLAGS += -L $(OUTPUTDIR)Libs
9
10 CRTI := $(OUTPUTDIR)Libs/crti.o
11 CRTBEGIN := $(shell $(CC) $(CFLAGS) -print-file-name=crtbegin.o 2>/dev/null)
12 CRTBEGINS := $(shell $(CC) $(CFLAGS) -print-file-name=crtbeginS.o 2>/dev/null)
13 CRT0 := $(OUTPUTDIR)Libs/crt0.o
14 CRT0S := $(OUTPUTDIR)Libs/crt0S.o
15 CRTEND := $(shell $(CC) $(CFLAGS) -print-file-name=crtend.o 2>/dev/null)
16 CRTENDS := $(shell $(CC) $(CFLAGS) -print-file-name=crtendS.o 2>/dev/null)
17 CRTN := $(OUTPUTDIR)Libs/crtn.o
18 LIBGCC_PATH = $(shell $(CC) -print-libgcc-file-name 2>/dev/null)

UCC git Repository :: git.ucc.asn.au