hi,
I have 2 file called tmp.mk and makefile.
>> cat makefile
include tmp.mk
%.o: %.c
echo "Compiling"
gcc -c $< -o $@
SRCS = t.c
>> cat tmp.mk
OBJ = $(SRCS:.c=.o)
lib : $(OBJ)
echo $(SRCS)
gmake version used is 3.77
If I give gmake lib it does not compile t.c file. Please let me know why it is not building t.c file
Regards
Jayant Kumar
- GNU make Mayan Wise - Israel
- RE: GNU make Mayan Wise - Israel
- RE: GNU make Vladimir E. Ignatov
- RE: GNU make Paul D. Smith
- GNU make Samuel Sanchez
- Re: GNU make Eric Christopher
- Re: GNU make Joost van Baal
- Re: GNU make Sankaranarayanan K V
- Re: GNU make Joost van Baal
- GNU make Paul D. Smith
- Re: gnu make jayant . kumar
- Re: gnu make Paul D. Smith
- GNU Make Steven Purkiss
- Re: GNU Make Paul D. Smith
- GNU make Scott . Hill
- Re: GNU make Boris Kolpackov
- Re: GNU make Paul D. Smith
- GNU Make Stephen Ong