Remove unneeded EXTRA_CFLAGS from win32/Makefile.gcc [Truta].

This commit is contained in:
Mark Adler 2012-03-12 22:18:36 -07:00
parent 39c7ed14ac
commit 142f051fb2
1 changed files with 3 additions and 4 deletions

View File

@ -40,7 +40,6 @@ SHARED_MODE=0
PREFIX = PREFIX =
CC = $(PREFIX)gcc CC = $(PREFIX)gcc
CFLAGS = $(LOC) -O3 -Wall CFLAGS = $(LOC) -O3 -Wall
EXTRA_CFLAGS = -DNO_VIZ
AS = $(CC) AS = $(CC)
ASFLAGS = $(LOC) -Wall ASFLAGS = $(LOC) -Wall
@ -79,7 +78,7 @@ testdll: example_d.exe minigzip_d.exe
echo hello world | ./minigzip_d | ./minigzip_d -d echo hello world | ./minigzip_d | ./minigzip_d -d
.c.o: .c.o:
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<
.S.o: .S.o:
$(AS) $(ASFLAGS) -c -o $@ $< $(AS) $(ASFLAGS) -c -o $@ $<
@ -111,10 +110,10 @@ minigzip_d.exe: minigzip.o $(IMPLIB)
$(STRIP) $@ $(STRIP) $@
example.o: test/example.c zlib.h zconf.h example.o: test/example.c zlib.h zconf.h
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -I. -c -o $@ test/example.c $(CC) $(CFLAGS) -I. -c -o $@ test/example.c
minigzip.o: test/minigzip.c zlib.h zconf.h minigzip.o: test/minigzip.c zlib.h zconf.h
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -I. -c -o $@ test/minigzip.c $(CC) $(CFLAGS) -I. -c -o $@ test/minigzip.c
zlibrc.o: win32/zlib1.rc zlibrc.o: win32/zlib1.rc
$(RC) $(RCFLAGS) -o $@ win32/zlib1.rc $(RC) $(RCFLAGS) -o $@ win32/zlib1.rc