diff options
| author | Richard M. Stallman | 1995-06-15 15:27:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-06-15 15:27:42 +0000 |
| commit | 191f57e924f650b7d98846862b0ea6f24b6d7e2f (patch) | |
| tree | 001dfd36d80f07ca4c90220c24038c276f3852c2 | |
| parent | 1ba29850a740814aa83247f83399f6fd62c79fd3 (diff) | |
| download | emacs-191f57e924f650b7d98846862b0ea6f24b6d7e2f.tar.gz emacs-191f57e924f650b7d98846862b0ea6f24b6d7e2f.zip | |
Define .c to .obj suffix rule.
(addpm.obj): Compile directly, use CFLAGS.
(addpm.exe): Link from addpm.obj.
| -rw-r--r-- | nt/makefile.nt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/nt/makefile.nt b/nt/makefile.nt index f3ce9baab48..5be2d02831d 100644 --- a/nt/makefile.nt +++ b/nt/makefile.nt | |||
| @@ -23,13 +23,14 @@ | |||
| 23 | 23 | ||
| 24 | ALL = $(BLD)\addpm.exe | 24 | ALL = $(BLD)\addpm.exe |
| 25 | 25 | ||
| 26 | .c{$(BLD)}.obj: | ||
| 27 | $(CC) $(CFLAGS) -Fo$@ $< | ||
| 28 | |||
| 26 | addpm: $(BLD) $(BLD)\addpm.exe | 29 | addpm: $(BLD) $(BLD)\addpm.exe |
| 27 | $(BLD)\addpm.exe: $(BLD)\addpm.obj | ||
| 28 | $(BLD)\addpm.obj: addpm.c | 30 | $(BLD)\addpm.obj: addpm.c |
| 29 | $(CC) $(CFLAGS) -nologo -out:$@ addpm.c \ | 31 | $(BLD)\addpm.exe: $(BLD)\addpm.obj |
| 30 | -link -out:$(BLD)\addpm.exe \ | 32 | $(LINK) -out:$@ -subsystem:windows -entry:WinMainCRTStartup \ |
| 31 | -subsystem:windows -entry:WinMainCRTStartup \ | 33 | $(SYS_LDFLAGS) $** $(BASE_LIBS) user32.lib |
| 32 | $(SYS_LDFLAGS) $(BASE_LIBS) user32.lib | ||
| 33 | 34 | ||
| 34 | # Since Windows 95 does not support multiple commands on one command line | 35 | # Since Windows 95 does not support multiple commands on one command line |
| 35 | # (e.g., in for loops), we cannot use for loops any more. | 36 | # (e.g., in for loops), we cannot use for loops any more. |