[Top][All Lists]

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

Problems with data files

From: Ganesh Kundapur
Subject: Problems with data files
Date: Mon, 26 May 2008 14:13:50 +0530

  My directory structure is
   - src
   - inc
   - data
     <some files>
     - audio

Toplevel contains
   datadir = /usr/share/game/data

   SUBDIRS = src data

SUBDIRS = audio

gamedir = $(datadir)

game_DATA = gamedata.dat


audiodir = $(datadir)/audio

audio_DATA = music.wav

EXTRA_DIST = $(audio_DATA)

When i configure, Makefile will be created under src, data directories but
not under data/audio directory. Makefile wont be created even if i put a
entry under SUBDIRS
in toplevel as
datadir = /usr/share/game/data

SUBDIR = src \
                data \

and when i run make, i'm getting the fallowing errors due to absence of the
Makefile under data/audio directory
make[1]: Entering directory '/home/kundapur/game/data'
Making all in ./data
make[2]: Leaving directory '/home/kundapur/game/data'
Making all in ./audio
make[2]: Entering directory '/home/kundapur/game/data/audio'
make[2]: *** No rule to make target 'all'. stop
Please some body let me know why Makefile is not created under data/audio
directory. Even if i create some temp directory under data, there also
Makefile wont be created.
Is there any other way to process data files?


reply via email to

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