new -lutil, only openpty() for now
This commit is contained in:
19
lib/util/Makefile
Normal file
19
lib/util/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user