source: trunk/Makefile@ 26

Last change on this file since 26 was 26, checked in by Mattia Monga, 11 years ago

Programmi 2014

File size: 902 bytes
RevLine 
[15]1TARGET_ARCH=-m32
2ASM=nasm
[26]3CFLAGS=-masm=intel -Wall
[2]4
5mioboot: mioboot.asm
[15]6 $(ASM) -l $@.lst -o $@ $<
[2]7
8mioboot-nobios: mioboot-nobios.asm
[15]9 $(ASM) -l $@.lst -o $@ $<
[2]10
11mioboot-nobios-simple: mioboot-nobios-simple.asm
[15]12 $(ASM) -l $@.lst -o $@ $<
[2]13
14
[15]15esercizio.o: esercizio.asm
16 $(ASM) -felf $<
[2]17
[15]18esercizio: esercizio.o
19
[26]20pthreads-pc rw rw-nosync rw-mutex rw-rlotto: LDFLAGS=-lpthread
[15]21
[2]22pthreads-pc: pthreads-pc.c
23
24fork-pc: fork-pc.c
25
[15]26tsl.o: tsl.asm
27 $(ASM) -felf tsl.asm
[2]28
[15]29tsl: tsl.o
30
[2]31enter.o: enter.asm
[15]32 $(ASM) -felf enter.asm
[2]33
34threads-tsl: threads-tsl.o enter.o
35
[26]36threads-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
48clean:
[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.