Mercurial > mplayer.hg
comparison loader/Makefile @ 21178:c9ac2772aa2e
Clean up CFLAGS handling.
author | diego |
---|---|
date | Fri, 24 Nov 2006 20:19:29 +0000 |
parents | 8a017ed1c615 |
children | 10f8f9918ec9 |
comparison
equal
deleted
inserted
replaced
21177:a84cf294f135 | 21178:c9ac2772aa2e |
---|---|
1 include ../config.mak | 1 include ../config.mak |
2 | 2 |
3 # Generated automatically from Makefile.in by configure. | 3 CFLAGS=-I. -I.. -DMPLAYER -D__WINE__ $(OPTFLAGS) |
4 DEFINES=-DMPLAYER -D__WINE__ #-Ddbg_printf=__vprintf \ | 4 #CFLAGS+=-Ddbg_printf=__vprintf -DTRACE=__vprintf -DDETAILED_OUT |
5 #-DTRACE=__vprintf # -DDETAILED_OUT | |
6 | |
7 CFLAGS=-I. -I.. $(OPTFLAGS) | |
8 | 5 |
9 SRCS= driver.c afl.c vfl.c | 6 SRCS= driver.c afl.c vfl.c |
10 ifneq ($(TARGET_WIN32),yes) | 7 ifneq ($(TARGET_WIN32),yes) |
11 SRCS+= ldt_keeper.c pe_image.c module.c ext.c win32.c \ | 8 SRCS+= ldt_keeper.c pe_image.c module.c ext.c win32.c \ |
12 pe_resource.c resource.c registry.c elfdll.c wrapper.S | 9 pe_resource.c resource.c registry.c elfdll.c wrapper.S |
21 rm -f *.o *.a *~ | 18 rm -f *.o *.a *~ |
22 | 19 |
23 distclean: clean | 20 distclean: clean |
24 | 21 |
25 .c.o: | 22 .c.o: |
26 $(CC) $(CFLAGS) $(DEFINES) -c $< | 23 $(CC) $(CFLAGS) -c $< |
27 | 24 |
28 libloader.a: $(OBJS) stubs.s | 25 libloader.a: $(OBJS) stubs.s |
29 $(CC) -c ./stubs.s -o stubs.o | 26 $(CC) -c ./stubs.s -o stubs.o |
30 $(AR) -r libloader.a $(OBJS) stubs.o | 27 $(AR) -r libloader.a $(OBJS) stubs.o |
31 $(RANLIB) libloader.a | 28 $(RANLIB) libloader.a |