[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to deal if source code and object file are in different directory?
From: |
Lin George |
Subject: |
how to deal if source code and object file are in different directory? |
Date: |
Wed, 30 Aug 2006 07:08:49 -0700 (PDT) |
Hello everyone,
Suppose I define two macros,
OBJ_DIR = debug/foo.o debug/goo.o
SRC_DIR = src/foo.c src/goo.c
how should I write a rule to compile foo.c and goo.c
into foo.o and goo.o and put them into debug
sub-directory?
thanks in advance,
George
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
- how to deal if source code and object file are in different directory?,
Lin George <=