1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
CC = gcc CFLAGS = -MD -g -Wall -O2 -I../../include -I. LFLAGS = -g -Wall OBJS = lnb.o SRCS = $(OBJS:.o=.c) TARGET = lnb.o $(TARGET): $(SRCS) .c.o: $(CC) $(CFLAGS) -c $< -o $@ clean: $(RM) *.o *.d $(TARGET) -include $(wildcard *.d) dummy