summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 8a491d2f273fc8cf54695617a4db3f0773e24ded (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# ##############################################################################
# User variables

# user variables can be specified in the environment or in a .config file
-include .config

LIBLITMUS ?= ../liblitmus2010

# Include default configuration from liblitmus
include ${LIBLITMUS}/inc/config.makefile

# all sources
vpath %.c bin/

# ##############################################################################
# Targets

all = cache_cost memthrash

.PHONY: all clean
all: ${all}
clean:
	rm -f ${all} *.o *.d

obj-cache_cost = cache_cost.o
cache_cost: ${obj-cache_cost}

obj-memthrash  = memthrash.o
memthrash: ${obj-memthrash}

# dependency discovery
include ${LIBLITMUS}/inc/depend.makefile