GITLAB
rsimonin
/
ima3_projet_pa_2019
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Issues
0
Merge Requests
0
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
1cf4e99fd21ac2e4193dd1205ea201d2186f6ca2
Authored by
rsSimonin
2019-04-05 11:57:43 +0200
1 parent
38be3329
creation makefile avec .h .c et main
Showing
1 changed file
with
7 additions
and
2 deletions
Show diff stats
Makefile
Inline
Side-by-side
Makefile
Wrap text
Show/Hide comments
View file @
1cf4e99
1
+EXEC=test
2
+
1
3
all : $(EXEC)
2
4
3
-$(EXEC):
arbre.o
5
+$(EXEC):
main.o arbre.o
4
6
gcc -g -c $@ $^
5
7
6
-arbre.o : arbre.c
8
+main.o : main.c
9
+ gcc -g -c $<
10
+
11
+arbre.o : arbre.c arbre.h
7
12
gcc -g -c $<
8
13
9
14
clean :
...
...