Rev | Line | |
---|
[15] | 1 | TARGET_ARCH=-m32
|
---|
| 2 | ASM=nasm
|
---|
[26] | 3 | CFLAGS=-masm=intel -Wall
|
---|
[2] | 4 |
|
---|
| 5 | mioboot: mioboot.asm
|
---|
[15] | 6 | $(ASM) -l $@.lst -o $@ $<
|
---|
[2] | 7 |
|
---|
| 8 | mioboot-nobios: mioboot-nobios.asm
|
---|
[15] | 9 | $(ASM) -l $@.lst -o $@ $<
|
---|
[2] | 10 |
|
---|
| 11 | mioboot-nobios-simple: mioboot-nobios-simple.asm
|
---|
[15] | 12 | $(ASM) -l $@.lst -o $@ $<
|
---|
[2] | 13 |
|
---|
| 14 |
|
---|
[15] | 15 | esercizio.o: esercizio.asm
|
---|
| 16 | $(ASM) -felf $<
|
---|
[2] | 17 |
|
---|
[15] | 18 | esercizio: esercizio.o
|
---|
| 19 |
|
---|
[26] | 20 | pthreads-pc rw rw-nosync rw-mutex rw-rlotto: LDFLAGS=-lpthread
|
---|
[15] | 21 |
|
---|
[2] | 22 | pthreads-pc: pthreads-pc.c
|
---|
| 23 |
|
---|
| 24 | fork-pc: fork-pc.c
|
---|
| 25 |
|
---|
[15] | 26 | tsl.o: tsl.asm
|
---|
| 27 | $(ASM) -felf tsl.asm
|
---|
[2] | 28 |
|
---|
[15] | 29 | tsl: tsl.o
|
---|
| 30 |
|
---|
[2] | 31 | enter.o: enter.asm
|
---|
[15] | 32 | $(ASM) -felf enter.asm
|
---|
[2] | 33 |
|
---|
| 34 | threads-tsl: threads-tsl.o enter.o
|
---|
| 35 |
|
---|
[26] | 36 | threads-tsl-new: threads-tsl-new.c
|
---|
[2] | 37 |
|
---|
[26] | 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 |
|
---|
[2] | 47 | .PHONY: clean
|
---|
| 48 | clean:
|
---|
[26] | 49 | rm -f mioboot mioboot-nobios mioboot-nobios-simple *.lst *~ semantic.cache esegui forca
|
---|
Note:
See
TracBrowser
for help on using the repository browser.