summaryrefslogtreecommitdiff
path: root/cesar/mac/design/test/sacki/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/mac/design/test/sacki/Makefile')
-rw-r--r--cesar/mac/design/test/sacki/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/cesar/mac/design/test/sacki/Makefile b/cesar/mac/design/test/sacki/Makefile
new file mode 100644
index 0000000000..6b6c501435
--- /dev/null
+++ b/cesar/mac/design/test/sacki/Makefile
@@ -0,0 +1,21 @@
+BASE = ../../../..
+
+TARGET=sparc
+
+HOST_PROGRAMS = test_sacki
+test_sacki_SOURCES = test_sacki.c
+test_sacki_MODULES = lib
+
+TARGET_PROGRAMS = test_sacki_target
+test_sacki_target_SOURCES = test_sacki.c
+test_sacki_target_MODULES = lib
+
+sacki_decomp_h = obj/inc/sacki_decomp.h
+CLEAN_FILES = $(sacki_decomp_h)
+
+include $(BASE)/common/make/top.mk
+
+$(call src2obj,src/test_sacki.c,host): $(sacki_decomp_h)
+$(call src2obj,src/test_sacki.c,target): $(sacki_decomp_h)
+$(sacki_decomp_h): src/sacki_decomp.pl $(OBJ_INC_DIR_STAMP)
+ perl $< > $@