kumquat-buildroot/package/x11r7/mcookie/mcookie.mk
Thomas Petazzoni 190700ab03 mcookie: convert to the GENTARGETS infrastructure
[Peter: fix missing newline at eof]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-30 08:26:07 +02:00

23 lines
492 B
Makefile

#############################################################
#
# mcookie
#
#############################################################
# Source included in Buildroot
MCOOKIE_SOURCE =
define MCOOKIE_EXTRACT_CMDS
cp package/x11r7/mcookie/mcookie.c $(@D)/
endef
define MCOOKIE_BUILD_CMDS
(cd $(@D); $(TARGET_CC) -Wall -Os -s mcookie.c -o mcookie)
endef
define MCOOKIE_INSTALL_TARGET_CMDS
install -m 0755 -D $(@D)/mcookie $(TARGET_DIR)/usr/bin/mcookie
endef
$(eval $(call GENTARGETS))