Makefile:

- create $(OBJ_DIR) (if it doesn't already exist) before building
	  objects
This commit is contained in:
gdr-ftp 1999-02-23 04:27:07 +00:00
parent b6e3bbc037
commit a51e90fa81
1 changed files with 7 additions and 2 deletions

View File

@ -1,8 +1,13 @@
# $Id: Makefile,v 1.2 1998/02/09 08:43:52 taubert Exp $
# $Id: Makefile,v 1.3 1999/02/23 04:27:07 gdr-ftp Exp $
.INCLUDE: /src/gno/paths.mk
all: $(OBJ_DIR)modem $(OBJ_DIR)printer $(OBJ_DIR)null
build: all
all: $(OBJ_DIR) $(OBJ_DIR)modem $(OBJ_DIR)printer $(OBJ_DIR)null
$(OBJ_DIR):
install -d $(OBJ_DIR)
$(OBJ_DIR)modem: port.o msccf.o
$(LD) $(LDFLAGS) -l /usr/lib/libsim -o $@ $<