#NMAKE problem
05-Aug-93 14:50:27
Sb: #50935-#NMAKE problem
Fm: Julie Solon [Microsoft] 71075,107
To: Jim Hartsing 76300,2150
Jim,
> Perhaps I didn't explain this properly.
Yes, you did. The first target is file1.obj. That is all it builds.
Try this instead (note use of pseudotarget "all").
# makefile
!include <ntwin32.mak>
all: target.exe
.c.obj:
$(cc) $(cflags) $(cdebug) $<
file1.obj: file1.c
file2.obj: file2.c
file3.obj: file3.c
target.exe: file1.obj file2.obj file3.obj
link ….
There is 1 Reply.