delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/15/08:15:35

From: Erick Branderhorst <branderhorst AT fgg DOT eur DOT nl>
Subject: Make and Vpath
To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp list)
Date: Thu, 15 Jun 95 13:14:37 METDST
Mailer: Elm [revision: 70.85]

I'm new here,

Sorry if this is the wrong place to ask.

I want to use make to extract some files from a zip archive. The ziparchives
are in a datadirectory (not the current).

example
I type make hallo.bin

The makefile looks like this

vpath %.zip datadir

%.bin: %.zip
	$(unzip) $< $@

unzip was defined as the right extraction utility. This does not work.
make is telling me:
No rule to make target `hallo.bin' . Stop

Please help or suggest an other util. But I would prefer using GnuMake.
Erick branderhorst AT hell DOT fgg DOT eur DOT nl

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019