Skip to content

Instantly share code, notes, and snippets.

@Razzile
Created September 11, 2016 19:02
Show Gist options
  • Save Razzile/63016fc39eac1bf1f665f58c20c9eb3d to your computer and use it in GitHub Desktop.
Save Razzile/63016fc39eac1bf1f665f58c20c9eb3d to your computer and use it in GitHub Desktop.
export TARGET = native:clang:latest
findfiles = $(foreach ext, c cpp m mm x xm xi xmi, $(wildcard $(1)/*.$(ext)))
include $(THEOS)/makefiles/common.mk
TOOL_NAME = ghetto_hook
ghetto_hook_FILES = $(call findfiles,src)
include $(THEOS_MAKE_PATH)/tool.mk
test: all
@$(or $(THEOS_OBJ_DIR),./)/$(TOOL_NAME)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment