Mercurial > mplayer.hg
annotate loader/Makefile @ 21182:b5e20880785f
Remove superfluous suffix rule.
author | diego |
---|---|
date | Sat, 25 Nov 2006 00:08:15 +0000 |
parents | d2a3e5845d17 |
children | 2b2580edbd10 |
rev | line source |
---|---|
1 | 1 include ../config.mak |
2 | |
21178 | 3 CFLAGS=-I. -I.. -DMPLAYER -D__WINE__ $(OPTFLAGS) |
4 #CFLAGS+=-Ddbg_printf=__vprintf -DTRACE=__vprintf -DDETAILED_OUT | |
21169
8a017ed1c615
Remove bug workarounds for ancient gcc and libc versions.
diego
parents:
20835
diff
changeset
|
5 |
20825 | 6 SRCS= driver.c afl.c vfl.c |
7 ifneq ($(TARGET_WIN32),yes) | |
8 SRCS+= ldt_keeper.c pe_image.c module.c ext.c win32.c \ | |
21181 | 9 pe_resource.c resource.c registry.c elfdll.c wrapper.S stubs.s |
12680 | 10 endif |
1 | 11 |
20825 | 12 OBJS = $(SRCS:.c=.o) |
20835
60e80b52abdd
Hack to make wrapper.S be compiled again. Someone who knows make please fix properly.
reimar
parents:
20827
diff
changeset
|
13 OBJS := $(OBJS:.S=.o) |
21181 | 14 OBJS := $(OBJS:.s=.o) |
20825 | 15 |
1 | 16 all: libloader.a |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
235
diff
changeset
|
17 |
1 | 18 clean: |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
12680
diff
changeset
|
19 rm -f *.o *.a *~ |
1 | 20 |
21 distclean: clean | |
21179 | 22 rm -f .depend |
1 | 23 |
21181 | 24 libloader.a: $(OBJS) |
25 $(AR) -r libloader.a $(OBJS) | |
12632 | 26 $(RANLIB) libloader.a |
1 | 27 |
20827 | 28 dep depend: |
29 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
30 | |
31 # | |
32 # include dependency files if they exist | |
33 # | |
34 ifneq ($(wildcard .depend),) | |
35 include .depend | |
36 endif |