Makefile 528 Bytes
Newer Older
Anders Blomdell's avatar
Anders Blomdell committed
1
2
3
4
5
6
7
8
9
10
11
MODULES=LabCommDispatcher \
	LabCommDecoderRegistry \
	LabComm \
	LabCommSample \
	LabCommHandler \
	LabCommEncoderRegistry \
	LabCommDecoder \
	LabCommType \
	LabCommEncoderChannel \
	LabCommEncoder \
	LabCommDecoderChannel \
12
13
	LabCommWriter \
	LabCommReader
Anders Blomdell's avatar
Anders Blomdell committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

all: labcomm.jar

labcomm.jar: gen/JAVAC
	echo $@
	cd gen ; jar cf ../$@ se/lth/control/labcomm/*.class

gen:
	mkdir gen

gen/JAVAC: $(MODULES:%=se/lth/control/labcomm/%.java) Makefile | gen
	javac -d gen $(filter %.java, $^)
	touch $@

clean:
	rm -rf labcomm.jar gen