summaryrefslogtreecommitdiffstats
path: root/fs/ncpfs/Makefile
blob: be43c491b1804dc6f0813c3c34c9312539c2789f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# Makefile for the linux ncp-filesystem routines.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definitions are now in the main makefile...

O_TARGET := ncpfs.o
O_OBJS   := dir.o file.o inode.o ioctl.o mmap.o ncplib_kernel.o sock.o
M_OBJS   := $(O_TARGET)

# If you want debugging output, please uncomment the following line

# EXTRA_CFLAGS += -DDEBUG_NCP=1

include $(TOPDIR)/Rules.make

ncplib_kernel.o: ncplib_kernel.c ncplib_kernel.h
	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -finline-functions -c -o $@ $<