Windows DLL exported symbols listing utility
修订版 | 0ec50ab284a4d2866e61a3d8d19d7dfb1fdd3328 (tree) |
---|---|
时间 | 2009-09-15 14:38:43 |
作者 | Charles Wilson <cwilso11@user...> |
Commiter | Charles Wilson |
Forgot Makefile
@@ -10,6 +10,7 @@ | ||
10 | 10 | compilable also with MSVC. Disable Wow64 file system redirection |
11 | 11 | when running as a 32-bit process on 64-bit Windows. Bump version |
12 | 12 | to 0.44. |
13 | + * Makefile: New. | |
13 | 14 | * pe.h: Not needed, removed. |
14 | 15 | * hparse.h: Remove generated file. |
15 | 16 |
@@ -0,0 +1,26 @@ | ||
1 | +CC=gcc -Wall | |
2 | + | |
3 | +DISTFILES=README COPYING ChangeLog Makefile hlex.l hparse.y pexports.h pexports.c str_tree.c str_tree.h | |
4 | + | |
5 | +OBJS=hlex.o hparse.o pexports.o str_tree.o | |
6 | + | |
7 | +all: pexports.exe | |
8 | + | |
9 | +pexports.exe: $(OBJS) | |
10 | + $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $(OBJS) | |
11 | + | |
12 | +pexports.o: pexports.c pexports.h str_tree.h | |
13 | +str_tree.o: str_tree.c str_tree.h | |
14 | +hlex.o: hlex.c hparse.h | |
15 | +hlex.c: hlex.l | |
16 | +hparse.o: hparse.c str_tree.h | |
17 | +hparse.h: hparse.c | |
18 | +hparse.c: hparse.y | |
19 | + bison -d $< -o $@ | |
20 | + | |
21 | +pexports.zip: $(DISTFILES) | |
22 | + zip $@ $(DISTFILES) | |
23 | + | |
24 | +clean: | |
25 | + $(RM) *.o *.exe hlex.c hparse.c hparse.h pexports.zip | |
26 | + |