History

don't build tcc1.def on Windows. I think the Windows build portion of the Makefile already provides their own version. If not, we can remove the check.

Henry Kroll III committed 16 years ago

Commit ac0b7d81 parent 76599231 file · +11 −11Browse files

Unified · Split

Makefile+11−11
@@ -10,17 +10,6 @@ CFLAGS_P=$(CFLAGS) -pg -static -DCONFIG_TCC_STATIC · 9 unmodified lines
10LIBS_P=10LIBS_P=
11LIBS=.11LIBS=.
12 12
13LIBTCCB=libtcc.a
14ifdef DISABLE_STATIC
15CFLAGS+=-fPIC
16LIBTCCL=-L. -ltcc
17LIBTCCB=libtcc.so.1.0
18endif
19LIBTCCPROGS=$(LIBTCCB)
20ifndef CONFIG_WIN32
21LIBTCCPROGS+=tcc1.def
22endif
23
24ifneq ($(GCC_MAJOR),2)13ifneq ($(GCC_MAJOR),2)
25CFLAGS+=-fno-strict-aliasing14CFLAGS+=-fno-strict-aliasing
26ifneq ($(GCC_MAJOR),3)15ifneq ($(GCC_MAJOR),3)
@@ -125,8 +114,19 @@ endif · 98 unmodified lines
125endif114endif
126endif115endif
127 116
117LIBTCCB=libtcc.a
118ifdef DISABLE_STATIC
119CFLAGS+=-fPIC
120LIBTCCL=-L. -ltcc
121LIBTCCB=libtcc.so.1.0
122endif
123LIBTCCPROGS=$(LIBTCCB)
124
128ifdef CONFIG_CROSS125ifdef CONFIG_CROSS
129PROGS+=$(PROGS_CROSS)126PROGS+=$(PROGS_CROSS)
127ifndef CONFIG_WIN32
128LIBTCCPROGS+=tcc1.def
129endif
130endif130endif
131 131
132all: $(PROGS) $(LIBTCC1) $(BCHECK_O) $(LIBTCCPROGS) tcc-doc.html tcc.1 libtcc_test$(EXESUF)132all: $(PROGS) $(LIBTCC1) $(BCHECK_O) $(LIBTCCPROGS) tcc-doc.html tcc.1 libtcc_test$(EXESUF)

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