[so] makefile

barbulescu adela baradela2002 at yahoo.com
Thu Aug 20 15:20:58 EEST 2009


Salut!

Am trimis 2 teme pentru care primesc: make: *** No rule to make target `build'.  Stop.
Pe sistemul meu temele sunt compilate fara erori.
De exemplu, la tema 3 folosesc:

CC=gcc 
CFLAGS=-g -Wall -fPIC 
LDFLAGS=-shared 

build: libvm.so

libvm.so: libvm.o

	$(CC) $(LDFLAGS) -o libvm.so libvm.o
libvm.o: libvm.c tema-mv.h
	$(CC) $(CFLAGS) -c -o libvm.o libvm.c
.PHONY: clean
clean:

	rm -f *~ *.o libvm.so

Care ar fi problema?

Mersi!



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20090820/f3a8afb7/attachment.htm>


More information about the so mailing list