Fixed
This commit is contained in:
parent
5c64a8d1ea
commit
a82fde69c3
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
SRC_DIR = $(SRC_HOME)/modules/src/object
|
SRC_DIR = $(SRC_HOME)/modules/src/object
|
||||||
MOD_DIR = $(TARGET_HOME)/modules
|
MOD_DIR = $(TARGET_HOME)/modules
|
||||||
INCLUDES = -I$(TARGET_HOME)/h -I$(SRC_DIR)
|
INCLUDES = -I$(TARGET_HOME)/h -I$(TARGET_HOME)/config -I$(SRC_DIR)
|
||||||
CFLAGS = $(INCLUDES) $(COPTIONS)
|
CFLAGS = $(INCLUDES) $(COPTIONS)
|
||||||
|
|
||||||
CFILES = $(SRC_DIR)/rd_arhdr.c $(SRC_DIR)/wr_arhdr.c \
|
CFILES = $(SRC_DIR)/rd_arhdr.c $(SRC_DIR)/wr_arhdr.c \
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
SRC_DIR = $(SRC_HOME)/modules/src/print
|
SRC_DIR = $(SRC_HOME)/modules/src/print
|
||||||
MOD_DIR = $(TARGET_HOME)/modules
|
MOD_DIR = $(TARGET_HOME)/modules
|
||||||
LIBPRINT = libprint.$(LIBSUF)
|
LIBPRINT = libprint.$(LIBSUF)
|
||||||
INCLUDES = -I$(SRC_DIR) -I$(MOD_LIB)/h
|
INCLUDES = -I$(SRC_DIR) -I$(MOD_DIR)/h
|
||||||
|
|
||||||
CFLAGS = $(COPTIONS) $(INCLUDES)
|
CFLAGS = $(COPTIONS) $(INCLUDES)
|
||||||
|
|
||||||
|
@ -21,13 +21,13 @@ $(LIBPRINT): $(OBJ)
|
||||||
$(RANLIB) $(LIBPRINT)
|
$(RANLIB) $(LIBPRINT)
|
||||||
|
|
||||||
install: all lintlib
|
install: all lintlib
|
||||||
cp $(LIBPRINT) $(MOD_LIB)/lib/$(LIBPRINT)
|
cp $(LIBPRINT) $(MOD_DIR)/lib/$(LIBPRINT)
|
||||||
$(RANLIB) $(MOD_LIB)/lib/$(LIBPRINT)
|
$(RANLIB) $(MOD_DIR)/lib/$(LIBPRINT)
|
||||||
cp $(SRC_DIR)/print.3 $(MOD_LIB)/man/print.3
|
cp $(SRC_DIR)/print.3 $(MOD_DIR)/man/print.3
|
||||||
|
|
||||||
cmp: all
|
cmp: all
|
||||||
-cmp $(LIBPRINT) $(MOD_LIB)/lib/$(LIBPRINT)
|
-cmp $(LIBPRINT) $(MOD_DIR)/lib/$(LIBPRINT)
|
||||||
-cmp $(SRC_DIR)/print.3 $(MOD_LIB)/man/print.3
|
-cmp $(SRC_DIR)/print.3 $(MOD_DIR)/man/print.3
|
||||||
|
|
||||||
pr:
|
pr:
|
||||||
@pr $(SRC_DIR)/proto.make $(SRC)
|
@pr $(SRC_DIR)/proto.make $(SRC)
|
||||||
|
@ -39,7 +39,7 @@ clean:
|
||||||
rm -f *.$(SUF) $(LIBPRINT)
|
rm -f *.$(SUF) $(LIBPRINT)
|
||||||
|
|
||||||
lintlib:
|
lintlib:
|
||||||
$(MK_LINT_LIB) print $(MOD_LIB)/lib $(INCLUDES) $(SRC)
|
$(MK_LINT_LIB) print $(MOD_DIR)/lib $(INCLUDES) $(SRC)
|
||||||
|
|
||||||
doprnt.$(SUF): $(SRC_DIR)/param.h $(SRC_DIR)/doprnt.c
|
doprnt.$(SUF): $(SRC_DIR)/param.h $(SRC_DIR)/doprnt.c
|
||||||
$(CC) -c $(CFLAGS) $(SRC_DIR)/doprnt.c
|
$(CC) -c $(CFLAGS) $(SRC_DIR)/doprnt.c
|
||||||
|
|
Loading…
Reference in a new issue