[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-team] fin de la galère pour libpcap
Hello,
Voila j'ai trouvé le prob., avec ce Makefile ci ca marche:
CXX=c++
CXXFLAGS=-O3 -mpentium -Wall -D_DEBUG_
all: global.o \
interface.o \
host.o \
listener.o \
main.o
$(CXX) $(CXXFLAGS) $^ -lpcap -o test
clean:
rm -f *.o
distclean:
rm -f *.o test
Le probleme, c'est que j'avais deja essayé en mettant -lpcap dans la
ligne CXXFLAGS, et la ca foirait, donc je pensais devoir le faire
à la main...
Comment perdre deux jour avec 6 caractères dans un Makefile
Merci à tous en tout cas, et désolé pour mon innatention ;)
A bientot
Phil
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/