#
# Copyright (c) nVidia Corporation
#
# Makefile to create a common lib for ioctl call
#

TARGET = libcommonlib.a

CFLAGS = -g -O2 -Wall -I../.. -I.

OBJS = \
     main.o \
     $(NULL)

all: dep $(TARGET)

-include .depend

dep:
	$(CC) $(CFLAGS) -M *.c > .depend

$(TARGET): $(OBJS)
	$(AR) r $@ $(OBJS)

clean:
	rm -f .depend core *~ *.o $(TARGET)

install:
	@echo Nothing to install

uninstall:
	@echo Nothing to uninstall
