History

configure: use relative paths for in-tree build

Also - move CPPFLAGS to Makefile - Use top_srcdir in lib/Makefile

grischka committed 13 years ago

Commit 17cf0dc1 parent 6ccee6e3 files · +19 −16Browse files

Showing the changes to lib (1 of 3 files). Show all

Unified · Split

lib/Makefile+2−2
@@ -46,13 +46,13 @@ WIN64_O = $(X86_64_O) crt1.o wincrt1.o dllcrt1.o dllmain.o chkstk.o · 45 unmodified lines
46ifeq "$(TARGET)" "i386-win32"46ifeq "$(TARGET)" "i386-win32"
47 OBJ = $(addprefix $(DIR)/,$(WIN32_O))47 OBJ = $(addprefix $(DIR)/,$(WIN32_O))
48 TGT = -DTCC_TARGET_I386 -DTCC_TARGET_PE48 TGT = -DTCC_TARGET_I386 -DTCC_TARGET_PE
49 XCC = $(TCC) -B$(TOP)/win32 -I$(TOP)/include49 XCC = $(TCC) -B$(top_srcdir)/win32 -I$(top_srcdir)/include
50 XAR = $(DIR)/tiny_libmaker$(EXESUF)50 XAR = $(DIR)/tiny_libmaker$(EXESUF)
51else51else
52ifeq "$(TARGET)" "x86_64-win32"52ifeq "$(TARGET)" "x86_64-win32"
53 OBJ = $(addprefix $(DIR)/,$(WIN64_O))53 OBJ = $(addprefix $(DIR)/,$(WIN64_O))
54 TGT = -DTCC_TARGET_X86_64 -DTCC_TARGET_PE54 TGT = -DTCC_TARGET_X86_64 -DTCC_TARGET_PE
55 XCC = $(TCC) -B$(TOP)/win32 -I$(TOP)/include55 XCC = $(TCC) -B$(top_srcdir)/win32 -I$(top_srcdir)/include
56 XAR = $(DIR)/tiny_libmaker$(EXESUF)56 XAR = $(DIR)/tiny_libmaker$(EXESUF)
57else57else
58ifeq "$(TARGET)" "i386"58ifeq "$(TARGET)" "i386"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t