source: trunk/Makefile@ 4

Last change on this file since 4 was 2, checked in by Mattia Monga, 14 years ago

Importazione sorgenti

File size: 630 bytes
Line 
1CFLAGS=-m32
2LDFLAGS=-m32
3
4mioboot: mioboot.asm
5 nasm -l $@.lst -o $@ $<
6
7mioboot-nobios: mioboot-nobios.asm
8 nasm -l $@.lst -o $@ $<
9
10mioboot-nobios-simple: mioboot-nobios-simple.asm
11 nasm -l $@.lst -o $@ $<
12
13
14esercizio: esercizio.asm
15 nasm -f elf $<
16 gcc -o $@ esercizio.o
17
18pthreads-pc: pthreads-pc.c
19 cc -pthread pthreads-pc.c -o pthreads-pc
20
21fork-pc: fork-pc.c
22 cc fork-pc.c -o fork-pc
23
24tsl: tsl.asm
25 nasm -felf tsl.asm
26 gcc tsl.o -o tsl
27
28enter.o: enter.asm
29 nasm -felf enter.asm
30
31threads-tsl: threads-tsl.o enter.o
32
33
34.PHONY: clean
35clean:
36 rm -f mioboot mioboot-nobios mioboot-nobios-simple *.lst *~ semantic.cache esegui forca
Note: See TracBrowser for help on using the repository browser.