Skip to content
Snippets Groups Projects
Makefile 520 B
Newer Older
CFLAGS = -ggdb -Wall -I../kernel $(EXTRACFLAGS)
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
PROGS += stamp-frame


all: $(LIB) $(PROGS)

$(PROGS): $(LIB)

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

		${CC} $(CFLAGS) -c $^ -I .
	rm -f *.o $(LIB) $(PROGS) *~

# add the other unused targets, so the rule in ../Makefile works
modules install modules_install: