Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#
# See the IPFILTER.LICENCE file for details on licencing.
#
#CC=gcc -Wuninitialized -Wstrict-prototypes -Werror -O
CFLAGS=-I..

all: $(DESTDIR)/iplang_y.o $(DESTDIR)/iplang_l.o

$(DESTDIR)/iplang_y.o: $(DESTDIR)/iplang_y.c
	$(CC) $(DEBUG) -I. -I.. -I$(DESTDIR) -I../ipsend $(CFLAGS) $(LINUX) -c $(DESTDIR)/iplang_y.c -o $@

$(DESTDIR)/iplang_l.o: $(DESTDIR)/iplang_l.c
	$(CC) $(DEBUG) -I. -I.. -I$(DESTDIR) -I../ipsend $(CFLAGS) $(LINUX) -c $(DESTDIR)/iplang_l.c -o $@

iplang_y.o: iplang_y.c
	$(CC) $(DEBUG) -I. -I.. -I../ipsend $(CFLAGS) $(LINUX) -c $< -o $@

iplang_l.o: iplang_l.c
	$(CC) $(DEBUG) -I. -I.. -I../ipsend $(CFLAGS) $(LINUX) -c $< -o $@

$(DESTDIR)/iplang_l.c: iplang_l.l $(DESTDIR)/iplang_y.h
	lex iplang_l.l
	mv lex.yy.c $(DESTDIR)/iplang_l.c

$(DESTDIR)/iplang_y.c $(DESTDIR)/iplang_y.h: iplang_y.y
	yacc -d iplang_y.y
	mv y.tab.c $(DESTDIR)/iplang_y.c
	mv y.tab.h $(DESTDIR)/iplang_y.h

clean:
	/bin/rm -f *.o lex.yy.c y.tab.c y.tab.h