I'm trying to use a makefile to download a zip file to my project. But everytime I try to run make build/gz_2010_us_050_00_20m.zipit gives me the following output:
mkdir -p build/
The syntax of the command is incorrect.
makefile:2: recipe for target 'build/gz_2010_us_050_00_20m.zip' failed
make: *** [build/gz_2010_us_050_00_20m.zip] Error 1
Here is my makefile code:
build/gz_2010_us_050_00_20m.zip:
mkdir -p $(dir $@)
curl -o $@ http\://www2.census.gov/geo/tiger/GENZ2010/$(notdir $@)