From 06cc5b415896cfa65e5b1e7c5f2a89eb99bd4962 Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Mon, 8 Jul 2024 00:34:53 -0400 Subject: [PATCH 1/1] Starting mailleur project public part --- Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/Makefile | 1 + lib/Makefile | 1 + subrou.c | 0 4 files changed, 46 insertions(+) create mode 100644 Makefile create mode 100644 app/Makefile create mode 100644 lib/Makefile create mode 100644 subrou.c diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..065c4da --- /dev/null +++ b/Makefile @@ -0,0 +1,44 @@ +#-------------------------------------------------------------------- +#Makefile to build the package +#-------------------------------------------------------------------- +#default make +default : clean prod +#-------------------------------------------------------------------- +#Executable generation area +#-------------------------------------------------------------------- +prod \ +debug \ + : + @ for i in $(SUBDIR) ; \ + do \ + $(MAKE) -s -C $$i $@ ; \ + done + +clean : + @ for i in $(SUBDIR) ; \ + do \ + $(MAKE) -s -C $$i $@ ; \ + done + @ - rm -fr $(APPNAME)-* + +#-------------------------------------------------------------------- +#test procedure +#-------------------------------------------------------------------- +test : prod + @ echo $@ need to implemented + +#-------------------------------------------------------------------- +#Installation procedure +#-------------------------------------------------------------------- +install : + @ echo $@ need to implemented + +#-------------------------------------------------------------------- +SUBDIR = \ + lib \ + app \ + +#-------------------------------------------------------------------- +#definitions +APPNAME = MAILLEUR +#-------------------------------------------------------------------- diff --git a/app/Makefile b/app/Makefile new file mode 100644 index 0000000..00e4ca1 --- /dev/null +++ b/app/Makefile @@ -0,0 +1 @@ +clean : diff --git a/lib/Makefile b/lib/Makefile new file mode 100644 index 0000000..00e4ca1 --- /dev/null +++ b/lib/Makefile @@ -0,0 +1 @@ +clean : diff --git a/subrou.c b/subrou.c new file mode 100644 index 0000000..e69de29 -- 2.47.3