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
4646 ifeq "$(TARGET)" "i386-win32"
4747 OBJ = $(addprefix $(DIR)/,$(WIN32_O))
4848 TGT = -DTCC_TARGET_I386 -DTCC_TARGET_PE
49− XCC = $(TCC) -B$(TOP)/win32 -I$(TOP)/include
49+ XCC = $(TCC) -B$(top_srcdir)/win32 -I$(top_srcdir)/include
5050 XAR = $(DIR)/tiny_libmaker$(EXESUF)
5151 else
5252 ifeq "$(TARGET)" "x86_64-win32"
5353 OBJ = $(addprefix $(DIR)/,$(WIN64_O))
5454 TGT = -DTCC_TARGET_X86_64 -DTCC_TARGET_PE
55− XCC = $(TCC) -B$(TOP)/win32 -I$(TOP)/include
55+ XCC = $(TCC) -B$(top_srcdir)/win32 -I$(top_srcdir)/include
5656 XAR = $(DIR)/tiny_libmaker$(EXESUF)
5757 else
5858 ifeq "$(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