diff options
| author | grischka <grischka> | 2007-11-21 17:16:31 +0000 |
|---|---|---|
| committer | grischka <grischka> | 2007-11-21 17:16:31 +0000 |
| commit | d778bde7f9683d046f421ac4399fbbdfd9726f98 (patch) | |
| tree | a2412e5e0aa3ec3c14a0bcc92765660d30b9b83b /Makefile | |
| parent | 54bf8c05566a34f4d578ed6d33d6262dc924a703 (diff) | |
| download | tinycc-d778bde7f9683d046f421ac4399fbbdfd9726f98.tar.gz tinycc-d778bde7f9683d046f421ac4399fbbdfd9726f98.tar.bz2 | |
Import more changesets from Rob Landley's fork (part 2)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -176,6 +176,9 @@ else LIBTCC1_OBJS=libtcc1.o LIBTCC1_CC=$(CC) endif +ifeq ($(ARCH),i386) +LIBTCC1_OBJS+=alloca86.o alloca86-bt.o +endif %.o: %.c $(LIBTCC1_CC) -O2 -Wall -c -o $@ $< @@ -237,7 +240,11 @@ libinstall: libtcc.a $(INSTALL) -m644 libtcc.h "$(includedir)" libtcc.o: tcc.c i386-gen.c Makefile +ifdef CONFIG_WIN32 + $(CC) $(CFLAGS) -DTCC_TARGET_PE -DLIBTCC -c -o $@ $< +else $(CC) $(CFLAGS) -DLIBTCC -c -o $@ $< +endif libtcc.a: libtcc.o $(AR) rcs $@ $^ @@ -282,11 +289,11 @@ cache: tcc_g # documentation and man page tcc-doc.html: tcc-doc.texi - texi2html -monolithic -number $< + -texi2html -monolithic -number $< tcc.1: tcc-doc.texi - ./texi2pod.pl $< tcc.pod - pod2man --section=1 --center=" " --release=" " tcc.pod > $@ + -./texi2pod.pl $< tcc.pod + -pod2man --section=1 --center=" " --release=" " tcc.pod > $@ FILE=tcc-$(shell cat VERSION) |
