CFLAGS = -Wall -g -Ilib -Iport -I. -O2 CC = gcc ldp_linux: cd port ; make ldp_linux.o cd port ; make libldpport.a cd lib ; make libldp.a $(CC) -o $@ port/ldp_linux.o lib/libldp.a port/libldpport.a lib/libldp.a # -lefence clean: cd lib ; make clean cd port ; make clean rm -rf ldp_linux core