minix/lib/util/Makefile
2005-07-19 16:01:37 +00:00

19 lines
268 B
Makefile

# Makefile for lib/util.
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE
CC1 = $(CC) $(CFLAGS) -c
LIBUTIL = ../libutil.a
all: $(LIBUTIL)
OBJECTS = \
$(LIBUTIL)(openpty.o)
$(LIBUTIL): $(OBJECTS)
aal cr $@ *.o
rm *.o
$(LIBUTIL)(openpty.o): openpty.c
$(CC1) openpty.c