mirror of
https://github.com/nasa/trick.git
synced 2024-12-21 06:03:10 +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.
35 lines
546 B
Makefile
35 lines
546 B
Makefile
|
|
ifdef TRICK_HOME
|
|
ifneq ($(STAND_ALONE), 1)
|
|
|
|
-include ${TRICK_HOME}/makefiles/Makefile.common
|
|
-include ${TRICK_HOME}/makefiles/Makefile.tricklib
|
|
|
|
-include Makefile_deps
|
|
|
|
SEPARATE_LIB = $(TRICK_LIB_DIR)/libtrick_units.a
|
|
|
|
default: $(SEPARATE_LIB)
|
|
trick: $(SEPARATE_LIB)
|
|
|
|
stand_alone:
|
|
@ $(MAKE) STAND_ALONE=1
|
|
|
|
clean_stand_alone:
|
|
@ $(MAKE) STAND_ALONE=1 clean
|
|
|
|
$(SEPARATE_LIB) : $(OBJECT_FILES) $(IO_OBJS) | $(TRICK_LIB_DIR)
|
|
ar cr $@ $(OBJECT_FILES) $(IO_OBJS)
|
|
|
|
else
|
|
|
|
include makefile.stand_alone
|
|
|
|
endif
|
|
else
|
|
|
|
include makefile.stand_alone
|
|
|
|
endif
|
|
|