diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -66,7 +66,13 @@ test.exe: test.o $(TARGETS) | |||
66 | testdll.dll: testdll.c | 66 | testdll.dll: testdll.c |
67 | $(CC) -shared -o $@ $^ | 67 | $(CC) -shared -o $@ $^ |
68 | 68 | ||
69 | test: $(TARGETS) test.exe testdll.dll | 69 | testdll2.dll: testdll2.c $(TARGETS) |
70 | $(CC) -shared -o $@ $< -L. -ldl $(LIBS) | ||
71 | |||
72 | testdll3.dll: testdll3.c | ||
73 | $(CC) -shared -o $@ $^ | ||
74 | |||
75 | test: $(TARGETS) test.exe testdll.dll testdll2.dll testdll3.dll | ||
70 | $(WINE) test.exe | 76 | $(WINE) test.exe |
71 | 77 | ||
72 | clean:: | 78 | clean:: |
@@ -74,7 +80,7 @@ clean:: | |||
74 | dlfcn.o \ | 80 | dlfcn.o \ |
75 | libdl.dll libdl.a libdl.def libdl.dll.a libdl.lib libdl.exp \ | 81 | libdl.dll libdl.a libdl.def libdl.dll.a libdl.lib libdl.exp \ |
76 | tmptest.c tmptest.dll \ | 82 | tmptest.c tmptest.dll \ |
77 | test.exe testdll.dll | 83 | test.exe testdll.dll testdll2.dll testdll3.dll |
78 | 84 | ||
79 | distclean: clean | 85 | distclean: clean |
80 | rm -f config.mak | 86 | rm -f config.mak |