From 2c538d7a2b0fb9e72c0fbb9af5d351302584aca0 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 10 Apr 2005 21:46:58 +0000 Subject: initial PE format support --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8b681e5..575a6d5 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ endif DISAS=objdump -d INSTALL=install -PROGS=tcc$(EXESUF) c67-tcc$(EXESUF) arm-tcc$(EXESUF) +PROGS=tcc$(EXESUF) c67-tcc$(EXESUF) arm-tcc$(EXESUF) i386-win32-tcc$(EXESUF) # run local version of tcc with local libraries and includes TCC=./tcc -B. -I. @@ -125,6 +125,9 @@ c67-tcc$(EXESUF): tcc.c c67-gen.c tccelf.c tccasm.c tcctok.h libtcc.h tcccoff.c arm-tcc$(EXESUF): tcc.c arm-gen.c tccelf.c tccasm.c tcctok.h libtcc.h Makefile $(CC) $(CFLAGS) -DTCC_TARGET_ARM -o $@ $< $(LIBS) +i386-win32-tcc$(EXESUF): tcc.c i386-gen.c tccelf.c tccasm.c i386-asm.c tcctok.h libtcc.h i386-asm.h tccpe.c Makefile + $(CC) $(CFLAGS) -DTCC_TARGET_PE -o $@ $< $(LIBS) + # TinyCC runtime libraries libtcc1.o: libtcc1.c $(CC) -O2 -Wall -c -o $@ $< -- cgit v1.3.1