initial commit
[pfinal.git] / Routix / tareas / fork1 / makefile
blob14f1e6465bccfd4be4c071ffc216e864e6f84969
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 stress1.bin: $(OBJECTS)
20 $(LD) $(LFLAGS) $(OBJECTS) -o stress1.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