help-gplusplus
[Top][All Lists]
Advanced

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

Makefile to compile my libs and apps


From: ad
Subject: Makefile to compile my libs and apps
Date: Fri, 09 Jul 2004 22:53:30 -0400
User-agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))

Hi,

I have my librariis in my /dir/libs/ directory and applications that are
use my own libraries in /dir/apps/ directory. For example:

/dir/libs/
  MyLibA.cpp
  MyLibA.hpp
  MyLibB.cpp
  MyLibB.hpp
  MyLibC.cpp
  MyLibC.hpp

/dir/apps/
  MyAppA.cpp
  MyAppA.hpp
  MyAppB.cpp
  MyAppB.hpp
  MyAppC.cpp
  MyAppC.hpp

Could someone show me how to write a Makefile to compile my libraries and
another Makefile to compile my applications via g++?

Thanks in advance.


reply via email to

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