Mercurial > mplayer.hg
annotate loader/Makefile @ 21179:10f8f9918ec9
Remove .depend on distclean.
author | diego |
---|---|
date | Fri, 24 Nov 2006 20:20:26 +0000 |
parents | c9ac2772aa2e |
children | d2a3e5845d17 |
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 \ | |
9 pe_resource.c resource.c registry.c elfdll.c wrapper.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) |
20825 | 14 |
1 | 15 all: libloader.a |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
235
diff
changeset
|
16 |
1 | 17 clean: |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
12680
diff
changeset
|
18 rm -f *.o *.a *~ |
1 | 19 |
20 distclean: clean | |
21179 | 21 rm -f .depend |
1 | 22 |
11875
6b28eb95c08b
* changes mencoder's exit code on explicit kill to 2
attila
parents:
9962
diff
changeset
|
23 .c.o: |
21178 | 24 $(CC) $(CFLAGS) -c $< |
1 | 25 |
20825 | 26 libloader.a: $(OBJS) stubs.s |
1 | 27 $(CC) -c ./stubs.s -o stubs.o |
20825 | 28 $(AR) -r libloader.a $(OBJS) stubs.o |
12632 | 29 $(RANLIB) libloader.a |
1 | 30 |
20827 | 31 dep depend: |
32 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
33 | |
34 # | |
35 # include dependency files if they exist | |
36 # | |
37 ifneq ($(wildcard .depend),) | |
38 include .depend | |
39 endif |