mirror of
https://github.com/nasa/trick.git
synced 2025-01-09 06:22:42 +00:00
14a75508a3
Changed all header file once include variables to follow the same naming convention and not start with any underscores. Also deleted old incorrect copyright notices. Also removed $Id: tags from all files. Fixes #14. Fixes #22.
36 lines
668 B
Makefile
36 lines
668 B
Makefile
|
|
include ${TRICK_HOME}/makefiles/Makefile.common
|
|
|
|
LIB_DIR = ${TRICK_HOME}/lib_${TRICK_HOST_CPU}
|
|
|
|
all: $(LIB_DIR)/master.o
|
|
|
|
trick: $(LIB_DIR)/master.o
|
|
|
|
$(OBJ_DIR)/master.o : master.cpp | $(OBJ_DIR)
|
|
$(TRICK_CPPC) $(TRICK_CXXFLAGS) -c $< -o $@
|
|
|
|
$(LIB_DIR)/master.o : $(OBJ_DIR)/master.o | $(LIB_DIR)
|
|
$(CP) $< $@
|
|
|
|
$(OBJ_DIR):
|
|
mkdir -p $(OBJ_DIR)
|
|
|
|
$(LIB_DIR):
|
|
mkdir -p $(LIB_DIR)
|
|
|
|
clean:
|
|
$(RM) -rf $(OBJ_DIR)
|
|
|
|
real_clean: clean
|
|
|
|
depend:
|
|
@ $(TRICK_CPPC) -MM $(TRICK_CXXFLAGS) master.cpp >> $(DEPTEMPFILE)
|
|
@ $(PERL) ${TRICK_HOME}/bin/depend_cp $(DEPTEMPFILE) > $(DEPFILE)
|
|
@ $(RM) $(DEPTEMPFILE)
|
|
@ echo "Created dependency file $(DEPFILE)"
|
|
|
|
|
|
-include Makefile_deps
|
|
|