blob: daa888da0c3aad0bf013e2633aa9eecfec4e4c33 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001# Makefile for uClibc
2#
3# Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
4#
5# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6#
7
8subdirs += libc/misc/mntent
9
10CSRC := mntent.c
11
12MISC_MNTENT_DIR := $(top_srcdir)libc/misc/mntent
13MISC_MNTENT_OUT := $(top_builddir)libc/misc/mntent
14
15MISC_MNTENT_SRC := $(MISC_MNTENT_DIR)/mntent.c
16MISC_MNTENT_OBJ := $(MISC_MNTENT_OUT)/mntent.o
17
18libc-y += $(MISC_MNTENT_OBJ)
19
20objclean-y += CLEAN_libc/misc/mntent
21
22CLEAN_libc/misc/mntent:
23 $(do_rm) $(addprefix $(MISC_MNTENT_OUT)/*., o os)