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
1010 LIBS_P=
1111 LIBS=.
1212
13−LIBTCCB=libtcc.a
14−ifdef DISABLE_STATIC
15−CFLAGS+=-fPIC
16−LIBTCCL=-L. -ltcc
17−LIBTCCB=libtcc.so.1.0
18−endif
19−LIBTCCPROGS=$(LIBTCCB)
20−ifndef CONFIG_WIN32
21−LIBTCCPROGS+=tcc1.def
22−endif
23−
2413 ifneq ($(GCC_MAJOR),2)
2514 CFLAGS+=-fno-strict-aliasing
2615 ifneq ($(GCC_MAJOR),3)
@@ -125,8 +114,19 @@ endif · 98 unmodified lines
125114 endif
126115 endif
127116
117+LIBTCCB=libtcc.a
118+ifdef DISABLE_STATIC
119+CFLAGS+=-fPIC
120+LIBTCCL=-L. -ltcc
121+LIBTCCB=libtcc.so.1.0
122+endif
123+LIBTCCPROGS=$(LIBTCCB)
124+
128125 ifdef CONFIG_CROSS
129126 PROGS+=$(PROGS_CROSS)
127+ifndef CONFIG_WIN32
128+LIBTCCPROGS+=tcc1.def
129+endif
130130 endif
131131
132132 all: $(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