Changeset 15 for trunk/Makefile


Ignore:
Timestamp:
Apr 21, 2012, 12:24:25 PM (13 years ago)
Author:
Mattia Monga
Message:

Aggiornati 2012

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r2 r15  
    1 CFLAGS=-m32
    2 LDFLAGS=-m32
     1TARGET_ARCH=-m32
     2ASM=nasm
    33
    44mioboot: mioboot.asm
    5         nasm -l $@.lst -o $@ $<
     5        $(ASM) -l $@.lst -o $@ $<
    66
    77mioboot-nobios: mioboot-nobios.asm
    8         nasm -l $@.lst -o $@ $<
     8        $(ASM) -l $@.lst -o $@ $<
    99
    1010mioboot-nobios-simple: mioboot-nobios-simple.asm
    11         nasm -l $@.lst -o $@ $<
     11        $(ASM) -l $@.lst -o $@ $<
    1212
    1313
    14 esercizio: esercizio.asm
    15         nasm -f elf $<
    16         gcc -o $@ esercizio.o
     14esercizio.o: esercizio.asm
     15        $(ASM) -felf $<
     16
     17esercizio: esercizio.o
     18
     19pthreads-pc : LDFLAGS=-lrt
    1720
    1821pthreads-pc: pthreads-pc.c
    19         cc -pthread pthreads-pc.c -o pthreads-pc
    2022
    2123fork-pc: fork-pc.c
    22         cc fork-pc.c -o fork-pc
    2324
    24 tsl: tsl.asm
    25         nasm -felf tsl.asm
    26         gcc tsl.o -o tsl
     25tsl.o: tsl.asm
     26        $(ASM) -felf tsl.asm
     27
     28tsl: tsl.o
    2729
    2830enter.o: enter.asm
    29         nasm -felf enter.asm
     31        $(ASM) -felf enter.asm
    3032
    3133threads-tsl: threads-tsl.o enter.o
Note: See TracChangeset for help on using the changeset viewer.