| 1 | ## |
| 2 | ## Scratchpad module Makefile |
| 3 | ## |
| 4 | |
| 5 | # System-specific configuration is in system.mk |
| 6 | TOPDIR=.. |
| 7 | include $(TOPDIR)/build/system-inc.mk |
| 8 | |
| 9 | ###################################### |
| 10 | |
| 11 | INCLUDES += $(X11_INCLUDES) $(LIBTU_INCLUDES) $(LIBEXTL_INCLUDES) -I.. |
| 12 | CFLAGS += $(XOPEN_SOURCE) $(C99_SOURCE) |
| 13 | |
| 14 | SOURCES=main.c |
| 15 | ETC=cfg_sp.lua |
| 16 | |
| 17 | MAKE_EXPORTS=mod_sp |
| 18 | |
| 19 | MODULE=mod_sp |
| 20 | |
| 21 | ###################################### |
| 22 | |
| 23 | include $(TOPDIR)/build/rules.mk |
| 24 | |
| 25 | ###################################### |
| 26 | |
| 27 | main.o: exports.h |
| 28 | |
| 29 | _install: module_install etc_install |