initial commit
[pfinal.git] / Routix / tareas / stress / makefile
blobcdfe5bf3f9d3021d6216bceae7f8bdc21459a8d4
2 CC = gcc
3 CFLAGS = -c -ffreestanding -fwritable-strings
5 ASM = nasmw
6 AFLAGS = -f aout
8 LD = ld
9 LFLAGS = --script ../ldscript/tarea.ld --print-map --format coff-go32 -s
12 OBJDIR = obj
13 SRCDIR = src
14 INCDIR = include
15 LIBDIR = ../lib
17 OBJECTS = tarea.o $(LIBDIR)/routstd.a
19 stress2.bin: $(OBJECTS)
20 $(LD) $(LFLAGS) $(OBJECTS) -o stress2.bin > tarea.map
22 tarea.o: tarea.c
23 $(CC) $(CFLAGS) tarea.c -o tarea.o
25 alloc.o: alloc.c
26 $(CC) $(CFLAGS) alloc.c -o alloc.o
29 clean:
30 del *.o
31 del *.bin
32 del *.s
33 del *.map