(file) Return to build.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

File: [Pegasus] / pegasus / mak / build.mak (download)
Revision: 1.3, Mon Jan 14 19:20:09 2002 UTC (22 years, 4 months ago) by mike
Branch: MAIN
CVS Tags: VERSION_1_07
Changes since 1.2: +8 -1 lines
Added new way to have source files in other directories contributing
to the same library or executable.


build: $(OBJ_DIR)/target $(BIN_DIR)/target $(LIB_DIR)/target $(ERROR)

define BUILD_NL


endef

$(OBJ_DIR)/target: $(ERROR)
	@ $(MKDIRHIER) $(OBJ_DIR)
	$(foreach i, $(OBJECT_DIRS), $(MKDIRHIER) $(OBJ_DIR)/$(i) $(BUILD_NL) )

# @ $(TOUCH) $(OBJ_DIR)/target

$(BIN_DIR)/target: $(ERROR)
	@ $(MKDIRHIER) $(BIN_DIR)
	@ $(TOUCH) $(BIN_DIR)/target

$(LIB_DIR)/target: $(ERROR)
	@ $(MKDIRHIER) $(LIB_DIR)
	@ $(TOUCH) $(LIB_DIR)/target

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2