automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Makefile to Makefile.am


From: samson.pierre
Subject: Makefile to Makefile.am
Date: Sat, 14 Aug 2010 04:01:15 +0200 (CEST)

Hello,

I have a Makefile and I would like to write a Makefile.am which can help to 
generate a Makefile nearly the same as this Makefile.

This is the tree :
---
/
configure.ac
Makefile.am
/doc
Doxyfile
/src
Makefile.am
*.c
*.h
/data
Makefile
*.xcf
---

This is the data/Makefile :
---
GIMP=gimp
RM=rm -rfv
BMP=bat.bmp beaver.bmp brown_bear.bmp cow.bmp coypu.bmp dromedary.bmp eel.bmp 
elephant.bmp giraffe.bmp golden_eagle.bmp great_white_shark.bmp 
hammerhead_shark.bmp human.bmp hyena.bmp jackal.bmp jellyfish.bmp lion.bmp 
lynx.bmp moose.bmp oryx.bmp otter.bmp scorpion.bmp spider.bmp squirrel.bmp 
zebra.bmp

all: $(BMP)

%.bmp: %.xcf
$(GIMP) -i -b '(xcf-bmp "$<" "$@")' -b '(gimp-quit 0)'

clean:
$(RM) *.bmp
---

Can you write a Makefile.am which can help to generate a Makefile nearly the 
same as this Makefile?

Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]