-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
20 lines (14 loc) · 1.04 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CC = gcc -O3
BUILD_DIR = work
.PHONY: all
all: $(BUILD_DIR) $(BUILD_DIR)/dtrm0_bg $(BUILD_DIR)/dtrm1_bg $(BUILD_DIR)/dtrm_glp_bg $(BUILD_DIR)/ca_polar_scl_bg
$(BUILD_DIR)/dtrm0_bg: dtrm/dtrm0.c common/srm_utils.c common/spf_par.c common/ui_txt.c simulators/sim_bg.c simulators/main_txt.c
$(CC) -DDEC_NEEDS_SIGMA -DUSE_STDLIB_RND -o $@ $^
$(BUILD_DIR)/dtrm1_bg: dtrm/dtrm1.c rm1_ml/rm1_ml.c common/srm_utils.c common/spf_par.c common/ui_txt.c simulators/sim_bg.c simulators/main_txt.c
$(CC) -DDEC_NEEDS_SIGMA -DUSE_STDLIB_RND -o $@ $^
$(BUILD_DIR)/dtrm_glp_bg: dtrm_glp/dtrm_glp_inner.c dtrm_glp/dtrm_glp_main.c common/crc.c common/srm_utils.c common/spf_par.c common/ui_txt.c simulators/sim_bg.c simulators/main_txt.c
$(CC) -DDEC_NEEDS_SIGMA -DDEC_NEEDS_CSNRN -DUSE_STDLIB_RND -o $@ $^
$(BUILD_DIR)/ca_polar_scl_bg: polar_scl/polar_scl_inner.c polar_scl/ca_polar_scl_main.c common/crc.c common/srm_utils.c common/spf_par.c common/ui_txt.c simulators/sim_bg.c simulators/main_txt.c
$(CC) -DDEC_NEEDS_SIGMA -DUSE_STDLIB_RND -o $@ $^
$(BUILD_DIR):
mkdir $@