I try to write a makefile, and I'm stuck.
In this project, make is supposed do generate/update a .zip file, named after the directory containing the makefile.
MyWorkingDirectory/ -> MyWorkingDirectory.zip
Somebody gave me some code, here, but it fails with /bin/sh: -c: ligne 0: syntax error near unexpected token "("
CIBLE:= $(shell basename "`pwd`".zip)
SRC=blabla
OBJ=blabla
all: $(CIBLE)
$(CIBLE): $(OBJ)
rm $@ 2>/dev/null;zip -j $@ $^
I have GNU make 4.2.1
Thank you !