[so] [SO][Tema3] problema makefile

Liviu Esanu liviu_esanu at yahoo.com
Thu Apr 21 23:42:27 EEST 2011


Am uploadat tema cu mai multe versiuni de Makefile , de fiecare data a dat aceeasi eroare:

Execuția testelor (stdout)
checker: testing
make -C _test
make[1]: Entering directory `/root/_test'
cc -Wall -g   -c -o vmsim_test.o vmsim_test.c
cc -Wall -g   -c -o vmsim_test_lin.o vmsim_test_lin.c
cc -Wall -g   -c -o common_lin.o common_lin.c
make[1]: Leaving directory `/root/_test'
make: *** No rule to make target `libvmsim.so', needed by `vmsim_test'.  Stop.

Makefileurile (am incercat multe) sunt variatii ale acestei versiuni simple:

all: vmsim.cpp
    g++ -shared -o libvmsim.so vmsim.cpp common.h
clean:
    rm libvmsim.so

Multumesc,
L

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


More information about the so mailing list