[HEADERS]
[reactos.git] / rosapps / applications / sysutils / mkdosfs / Makefile
1
2 OBJECTS = mkdosfs.o
3
4 all: mkdosfs
5
6 mkdosfs: $(OBJECTS)
7 $(CC) $(LDFLAGS) $^ -o $@
8
9 .c.o:
10 $(CC) $(CFLAGS) -c $< -o $@
11
12 install: mkdosfs
13 mkdir -p $(SBINDIR) $(MANDIR)
14 install -m 755 mkdosfs $(SBINDIR)
15 install -m 644 mkdosfs.8 $(MANDIR)
16 rm -f $(SBINDIR)/mkfs.msdos
17 rm -f $(SBINDIR)/mkfs.vfat
18 ln -s mkdosfs $(SBINDIR)/mkfs.msdos
19 ln -s mkdosfs $(SBINDIR)/mkfs.vfat
20 rm -f $(MANDIR)/mkfs.msdos.8
21 ln -s mkdosfs.8 $(MANDIR)/mkfs.msdos.8
22 ln -s mkdosfs.8 $(MANDIR)/mkfs.vfat.8
23
24 clean :
25 echo *.o *.i *.s *~ \#*# core .#* .new*
26 rm -f *.o *.i *.s *~ \#*# core .#* .new*
27
28 distclean: clean
29 rm -f mkdosfs *.a *# *.orig *.rej TAGS
30
31 dep: