Mercurial > mplayer.hg
annotate loader/Makefile @ 21183:2b2580edbd10
cosmetics: Move around targets for consistency.
author | diego |
---|---|
date | Sat, 25 Nov 2006 00:09:39 +0000 |
parents | b5e20880785f |
children | 32a571ec877d |
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 |
21183 | 18 libloader.a: $(OBJS) |
19 $(AR) -r libloader.a $(OBJS) | |
20 $(RANLIB) libloader.a | |
21 | |
1 | 22 clean: |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
12680
diff
changeset
|
23 rm -f *.o *.a *~ |
1 | 24 |
25 distclean: clean | |
21179 | 26 rm -f .depend |
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 |