summaryrefslogtreecommitdiff
path: root/samples/Makefile.samples
blob: d7d45be9c75fc96af0ce4b4eb56d1c376ea9923e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.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 cube trig allcube

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

allcube: cube trig drawline
	../src/linker cube.s drawline.s trig.s cube
	rm cube.o drawline.o trig.o

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