Commit 22b38f2b authored by Adrien Le Berre's avatar Adrien Le Berre
Browse files

fin de TP

parent 1872a8cb
EXEC=test
EXEC=test_bin
HMLIB=hm.so
SRCDIR=src
EXDIR=examples
......@@ -32,11 +32,13 @@ FTR=$(BFILES:./$(BINDIR)/%=%.ftr)
.SECONDARY : $(OHMFILES) $(OFILES)
.PHONY : create clean mrproper all
exec : Generating\ $(EXEC)\ binaries.echo $(EXEC)
heap : Generating\ HM\ binairies.echo $(HMLIB)
all : create exec test tp2
all : create exec test
test : Generating\ test\ binaries.echo $(TESTS) $(CTESTFILES)
......@@ -64,8 +66,6 @@ depend : done.done
done.done :
$(ECHO) "\033[31;01mGenerating project depandancies$*\033[00m"
@touch done.done
.PHONY : create clean mrproper
clean : Removing\ files.echo $(CLEANFILES)
......
......@@ -2,6 +2,9 @@
#include "add.h"
int main(int argc, char *argv[]){
if(argc == 0){
return -1;
}
puts("Bonjour !");
printf("Exécutable lancé depuis la commande : %s\n", argv[0]);
int x = 17;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment