Hello guys, I'm trying to make this work
all: daemon client daemon: cd ./daemon; make daemon client: echo going in cd ./client; make client clean: cd ./daemon ; make clean cd ./client ; make clean
But I'm having 2 problems:
1) Make ALWAYS tells me there's nothing to be done. Wether I try to make daemon, client or all. The echo command doesn't even seem to work.
Edit: turns out I can't use the command "make daemon" on both the main makefile and the secondary makefile.
2) Clean DOES work but it doesn't clean the client if cleaning the daemon failed.
So you have makefiles in the ./client and ./daemon
directories?
Plus I've always seem makefiles like
all: daemon client
daemon:
cd ./daemon
make daemon
client:
echo going in
cd ./client
make client
clean:
cd ./daemon
make clean
cd ./client
make clean