blob: 09c193f1c1e29513941401bb2d867b476c2c6609 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
TOP=../..
include $(TOP)/mk/boilerplate.mk
SRC_CC_OPTS += $(MACOSX_DEPLOYMENT_CC_OPTS)
SRC_LD_OPTS += $(MACOSX_DEPLOYMENT_LD_OPTS)
C_PROG = hp2ps
SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -Wall
INSTALL_PROGS += $(C_PROG)
LIBS = $(LIBM)
CLEAN_FILES += $(C_OBJS) $(C_PROG)
binary-dist:
$(INSTALL_DIR) $(BIN_DIST_DIR)/utils/hp2ps
$(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/utils/hp2ps/
$(INSTALL_PROGRAM) $(C_PROG) $(BIN_DIST_DIR)/utils/hp2ps/
include $(TOP)/mk/target.mk
|