diff options
Diffstat (limited to 'archives/extend/2014-March/000346.html')
-rw-r--r-- | archives/extend/2014-March/000346.html | 149 |
1 files changed, 149 insertions, 0 deletions
diff --git a/archives/extend/2014-March/000346.html b/archives/extend/2014-March/000346.html new file mode 100644 index 00000000..c5372244 --- /dev/null +++ b/archives/extend/2014-March/000346.html @@ -0,0 +1,149 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Trying to grok erlang.mk + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Trying%20to%20grok%20erlang.mk&In-Reply-To=%3C1394137799.268930068%40apps.rackspace.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000342.html"> + <LINK REL="Next" HREF="000347.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Trying to grok erlang.mk</H1> + <B>lloyd at writersglen.com</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Trying%20to%20grok%20erlang.mk&In-Reply-To=%3C1394137799.268930068%40apps.rackspace.com%3E" + TITLE="[99s-extend] Trying to grok erlang.mk">lloyd at writersglen.com + </A><BR> + <I>Thu Mar 6 21:29:59 CET 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000342.html">[99s-extend] Cowboy pre request filter +</A></li> + <LI>Next message: <A HREF="000347.html">[99s-extend] Trying to grok erlang.mk +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#346">[ date ]</a> + <a href="thread.html#346">[ thread ]</a> + <a href="subject.html#346">[ subject ]</a> + <a href="author.html#346">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello, + +To secure my understanding of erlang.mk, I've been trying to create the simplest possible example I can imagine. Which gives me this: + +min + erlang.mk + Makefile + src + min.app.src + min.erl + +*** Where Makefile is: + +PROJECT = min + +include erlang.mk + +*** min.app.src is: + +{application, min, + [{description,[]}, + {vsn,"0.1.0"}, + {registered,[]}, + {applications,[kernel,stdlib]}, + {env,[]}, + {modules,[]}]}. + +*** and min.erl is: + +-module(min). + +-export([hello/0]). + +hello() -> + io:format("Hello min!~n~n"). + +*** But when I call make, I get this: + +/min$ make + ERLC min.erl + APP min .app.src +cat: src/min: No such file or directory +cat: .app.src: No such file or directory +sed: can't read .app: No such file or directory +make: *** [app] Error 2 + +*** Observations + +min.erl compiles just fine +min.app.src breaks the compile + +*** Questions: + +1) How can I correct this? +2) How can I structure directories and make files for a project that involves several applications? + +Many thanks, + +LRP + + +********************************************* +My books: + +THE GOSPEL OF ASHES +<A HREF="http://thegospelofashes.com">http://thegospelofashes.com</A> + +Strength is not enough. Do they have the courage +and the cunning? Can they survive long enough to +save the lives of millions? + +FREEIN' PANCHO +<A HREF="http://freeinpancho.com">http://freeinpancho.com</A> + +A community of misfits help a troubled boy find his way + +AYA TAKEO +<A HREF="http://ayatakeo.com">http://ayatakeo.com</A> + +Star-crossed love, war and power in an alternative +universe + +Available through Amazon or by request from your +favorite bookstore + + +********************************************** + + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000342.html">[99s-extend] Cowboy pre request filter +</A></li> + <LI>Next message: <A HREF="000347.html">[99s-extend] Trying to grok erlang.mk +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#346">[ date ]</a> + <a href="thread.html#346">[ thread ]</a> + <a href="subject.html#346">[ subject ]</a> + <a href="author.html#346">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> |