[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sourcing from a Makefile
From: |
Eli Zaretskii |
Subject: |
Re: sourcing from a Makefile |
Date: |
Wed, 07 Jul 2004 20:51:51 +0200 |
> Date: Wed, 07 Jul 2004 13:03:54 -0400
> From: address@hidden (Maya)
>
> # Libraries to be included
> include /dev/foo/make/'Makefile.bas
>
> CFLAGS= -Wall -g -c #-ansi
> OBJS = main.o email.o $(BASE_OBJS)
> EXEC = email.exe
>
> #Application name
> my_app: $(OBJS)
> $(CPP) $(LDLIBS) $(OBJS) -o $(EXEC)
>
> main.o: main.cpp
> $(CPP) $(CFLAGS) main.cpp
>
> email.o: email.hpp $(DEF_HPP)
> $(CPP) $(CFLAGS) email.cpp
> -- eof --
>
> After typing 'make' I get the follwing error:
> make ***No rule to make target 'def/def.hpp' needed by 'email.o'. Stop.
What does "make --version" print? If it says "Built for
i386-pc-msdosdjgpp", then you need to rename the /dev/ directory, as
"/dev" is reserved for devices in that port of Make.