comet2monitorの修正
[YACASL2.git] / test / unit / strndup_chk / Makefile
1 include ../Define.mk
2 include ../Test.mk
3
4 CC := gcc
5 CFLAGS := -Wall
6
7 .INTERMEDIATE: $(CMD_FILE)
8
9 CMDSRC_FILE := cmd.c
10 TARGETDIR := ../../../src
11 INCLUDEDIR := ../../../include
12 TESTTARGET_FILES := $(TARGETDIR)/cmem.c         # Set test target files
13
14 $(CMD_FILE): $(CMDSRC_FILE) $(TESTTARGET_FILES)
15         $(CC) $(CFLAGS) -I $(INCLUDEDIR) -o $@ $^
16
17 clean_cmd:
18         @rm -rf cmd.dSYM cmd
19
20 clean: clean_cmd