bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I got problem in run make file


From: krishna
Subject: I got problem in run make file
Date: Wed, 24 Aug 2005 14:25:05 +0530

 
please solve my problem..
 
This is the make file i used ...
 
#Point this to your JDK 1.2 root directory
JDK=c:\j2sdk1.4.2_05
 
#Executable Name
EXE=javaserv.exe
 
all: $(EXE)
 
CFLAGS=-MT -I$(JDK)\include -I$(JDK)\include\win32
 
.c.obj:
 cc -c $(CFLAGS) $*.c
 
javaserver.obj:
 javaserver.c service.h
 
service.obj:
 service.c service.h
 
parseargs.obj:
 parseargs.c parseargs.h
 
registry.obj:
 registry.c registry.h
 
javaserv_objs=javaserver.obj service.obj parseargs.obj registry.obj
 
javaserv_libs=advapi32.lib shell32.lib $(JDK)\lib\jvm.lib $(EXE): $(javaserv_objs)
 
$(LINK.c) -o $@ $(javaserv_objs) $(javaserv_libs)
 
I got an error like this
 
make -d all

GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Reading makefiles...
Reading makefile `makefile'...
makefile:30: *** multiple target patterns.  Stop.
 
 
Regards
 
krishna Ch

reply via email to

[Prev in Thread] Current Thread [Next in Thread]