Skip to content
Snippets Groups Projects
Makefile 374 B
Newer Older
CFLAGS = -ggdb -Wall -I../kernel
LDFLAGS = -L. -lspec

LIB = libspec.a
PROGS = spec-cl spec-fwloader spec-vuart specmem
PROGS += wr-dio-cmd wr-dio-pps wr-dio-agent wr-dio-ruler


all: $(LIB) $(PROGS)

$(PROGS): $(LIB)

$(LIB): $(LIBOBJ)
	ar r $@ $^

loader-ll.o:	../kernel/loader-ll.c
		${CC} -c $^ -I .

clean:
	rm -f *.o $(LIB) $(PROGS) *~