summaryrefslogtreecommitdiffstats
path: root/src/ssx/ssx/Makefile
blob: ce1116f55ab23e3f889ad321a06278cf839dd174 (plain)
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
# $Id: Makefile,v 1.2 2013/12/12 16:12:38 bcbrock Exp $

# This Makefile is designed to be invoked with the -I argument set to
# the location of the "ssx.mk" for the build

include ../pgp/ssx.mk
include ssxssxfiles.mk

ifeq "$(SSX_TIMER_SUPPORT)" "1"
SSX_OBJECTS += ${SSX-TIMER-C-SOURCES:.c=.o}
endif

ifeq "$(SSX_THREAD_SUPPORT)" "1"
SSX_OBJECTS += ${SSX-THREAD-C-SOURCES:.c=.o} 
endif

all: $(SSX_OBJECTS)

.PHONY : clean
clean:
	rm -f *.o *.d *.d.*

ifneq ($(MAKECMDGOALS),clean)
include $(SSX_OBJECTS:.o=.d)
endif
OpenPOWER on IntegriCloud