diff --git a/sims/firesim-wrapper/.gitignore b/sims/firesim-wrapper/.gitignore new file mode 100644 index 000000000..a0991ff44 --- /dev/null +++ b/sims/firesim-wrapper/.gitignore @@ -0,0 +1,3 @@ +* +!.gitignore +!Makefile diff --git a/sims/firesim-wrapper/Makefile b/sims/firesim-wrapper/Makefile new file mode 100644 index 000000000..858be6e84 --- /dev/null +++ b/sims/firesim-wrapper/Makefile @@ -0,0 +1,43 @@ +######################################################################################### +# firesim-wrapper makefile +######################################################################################### + +######################################################################################### +# general path variables +######################################################################################### +base_dir=$(abspath ../..) +sim_dir=$(abspath .) + +######################################################################################### +# include shared variables +######################################################################################### +include $(base_dir)/variables.mk + +######################################################################################### +# entrypoint +######################################################################################### +.PHONY: default +default: $(FIRRTL_FILE) $(ANNO_FILE) + +######################################################################################### +# unused +######################################################################################### +sim_name = unused +sim_prefix = unused +sim = unused +sim_debug = unused + +$(sim_files): | $(build_dir) + touch $@ + +######################################################################################### +# import other necessary rules and variables +######################################################################################### +include $(base_dir)/common.mk + +######################################################################################### +# general cleanup rules +######################################################################################### +.PHONY: clean +clean: + rm -rf $(CLASSPATH_CACHE) $(gen_dir)