summaryrefslogtreecommitdiff
path: root/samples/Makefile.samples
blob: a63898645f0541d59d46f17ade7bc1b976a683cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.o:
	../src/linker $< $@

.s.o:
	../src/compilo $< $@

.s:
	../src/compilo $< tmp.o
	../src/linker tmp.o $@
	chmod 755 $@
	rm tmp.o

all: helloworld hello recherche rechcara sommeentiers testtout boucle p4 drawline

helloworld: fichier1.s fichier2.s
	../src/compilo fichier1.s fichier1.o
	../src/compilo fichier2.s fichier2.o
	../src/linker fichier1.o fichier2.o helloworld
	chmod 755 helloworld
	rm fichier1.o fichier2.o

clean:
	rm -f helloworld recherche rechcara sommeenters testtout *.o __symbols__ __text__