mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
Changed old trickified test to generate an archive
This commit is contained in:
parent
f285e2a1fa
commit
df19738cad
@ -1,7 +1,8 @@
|
||||
PROJECT_HOME := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))/..)
|
||||
TRICK_HOME := $(abspath $(PROJECT_HOME)/../../..)
|
||||
|
||||
export TRICKIFY_OBJECT_NAME := trickified_myproject.o
|
||||
export TRICKIFY_BUILD_TYPE := STATIC
|
||||
export TRICKIFY_OBJECT_NAME := trickified_myproject.a
|
||||
export TRICKIFY_CXX_FLAGS := -I$(PROJECT_HOME)/include -I$(TRICK_HOME)/include
|
||||
|
||||
all:
|
||||
|
@ -11,7 +11,7 @@ MYPROJECT_INCLUDE := -I$(MYPROJECT_HOME)/include
|
||||
TRICK_CFLAGS += $(MYPROJECT_INCLUDE) $(MYPROJECT_SOURCE)
|
||||
TRICK_CXXFLAGS += $(MYPROJECT_INCLUDE) $(MYPROJECT_SOURCE)
|
||||
|
||||
MYPROJECT_TRICK := $(MYPROJECT_HOME)/trickified/trickified_myproject.o
|
||||
MYPROJECT_TRICK := $(MYPROJECT_HOME)/trickified/trickified_myproject.a
|
||||
|
||||
# Tell Trick the headers and source at this location are part of a
|
||||
# Trickified project
|
||||
|
Loading…
Reference in New Issue
Block a user