Line | |
---|
1 | TARGET_ARCH=-m32
|
---|
2 | ASM=nasm
|
---|
3 | CFLAGS=-masm=intel -Wall
|
---|
4 |
|
---|
5 | mioboot: mioboot.asm
|
---|
6 | $(ASM) -l $@.lst -o $@ $<
|
---|
7 |
|
---|
8 | mioboot-nobios: mioboot-nobios.asm
|
---|
9 | $(ASM) -l $@.lst -o $@ $<
|
---|
10 |
|
---|
11 | mioboot-nobios-simple: mioboot-nobios-simple.asm
|
---|
12 | $(ASM) -l $@.lst -o $@ $<
|
---|
13 |
|
---|
14 |
|
---|
15 | esercizio.o: esercizio.asm
|
---|
16 | $(ASM) -felf $<
|
---|
17 |
|
---|
18 | esercizio: esercizio.o
|
---|
19 |
|
---|
20 | pthreads-pc rw rw-nosync rw-mutex rw-rlotto: LDFLAGS=-lpthread
|
---|
21 |
|
---|
22 | pthreads-pc: pthreads-pc.c
|
---|
23 |
|
---|
24 | fork-pc: fork-pc.c
|
---|
25 |
|
---|
26 | tsl.o: tsl.asm
|
---|
27 | $(ASM) -felf tsl.asm
|
---|
28 |
|
---|
29 | tsl: tsl.o
|
---|
30 |
|
---|
31 | enter.o: enter.asm
|
---|
32 | $(ASM) -felf enter.asm
|
---|
33 |
|
---|
34 | threads-tsl: threads-tsl.o enter.o
|
---|
35 |
|
---|
36 | threads-tsl-new: threads-tsl-new.c
|
---|
37 |
|
---|
38 | %.tex : %.nw
|
---|
39 | noweave -delay -filter btdefn -index -filter "awk -f lst.awk|tee debug" $< > $@
|
---|
40 |
|
---|
41 | %.c : %.nw
|
---|
42 | notangle -R$@ -filter btdefn $< > $@
|
---|
43 |
|
---|
44 | %.pdf : %.tex
|
---|
45 | pdflatex $< && pdflatex $< && pdflatex $<
|
---|
46 |
|
---|
47 | .PHONY: clean
|
---|
48 | clean:
|
---|
49 | rm -f mioboot mioboot-nobios mioboot-nobios-simple *.lst *~ semantic.cache esegui forca
|
---|
Note:
See
TracBrowser
for help on using the repository browser.