gno/usr.orca.bin/udl/Makefile.msd

45 lines
789 B
Makefile

#
# Makefile for udl
# (c) 1993-1996 Soenke Behrens
#
# $Id: Makefile.msd,v 1.2 1996/02/11 20:05:47 gdr Exp $
# DJGPP is a gcc port
CC = gcc
# Where do we put the binaries and man page?
BINDIR = /djgpp/bin
MANDIR = /djgpp/man
# OS-dependant macros. See the README for an explanation of these.
DEFINES = -DREADDIR_RETURNS_DOT -DHAS_ATEXIT
INSTALL = cp -f
CFLAGS = $(DEFINES) -O2
#
# You should not have to modify anything beyond this point
#
OBJS = udl.o udluse.o common.o globals.o
udl: $(OBJS)
$(CC) $(LDFLAGS) -o udl $(OBJS) $(LDLIBS)
udl.o: udlunix.c common.h
$(CC) -c $(CFLAGS) -o udl.o udlunix.c
install:
$(INSTALL) udl $(DESTDIR)$(BINDIR)
$(INSTALL) udl.1 $(DESTDIR)$(MANDIR)
clean:
-rm *.o *~ core
clobber: clean
-rm udl
udluse.o common.o globals.o:: common.h