Changed old trickified test to generate an archive

This commit is contained in:
Pherring04 2024-12-02 12:29:08 -06:00
parent f285e2a1fa
commit df19738cad
2 changed files with 3 additions and 2 deletions

View File

@ -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:

View File

@ -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