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