initial commit
[pfinal.git] / Routix / src / signals / makefile
blob94a5c77639bbd50415732ca56012f8749d17d3df
2 CC = gcc
3 CFLAGS = -c -fpack-struct -ffreestanding -Wall -I$(INCDIR)
5 ASM = nasmw
6 AFLAGS = -f coff
8 LD = ld
9 LFLAGS = -r --cref
12 OBJDIR = ../../obj
13 SRCDIR = ../../src
14 INCDIR = ../../include
16 OBJECTS = signal.o
19 all : signals.a signal.o
21 #Linkeo Parcial (-r)
22 signals.a: $(OBJECTS)
23 $(LD) $(LFLAGS) $(OBJECTS) -o $(OBJDIR)/signals.a > signals.map
26 signal.o: signal.c $(INCDIR)/routix/system.h $(INCDIR)/signal.h $(INCDIR)/routix/signal.h
27 $(CC) $(CFLAGS) signal.c -o signal.o
31 clean:
32 del *.o