summaryrefslogtreecommitdiff
path: root/i/siroco/src/pg_test/Makefile
blob: 6d01b3c45ea899a7f598cfd4efe3f99584537824 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Mon Makefile
TARGET_A = message_test
OBJECTS_A = message_test.o ../message.o 

TARGET_B = message_asservissement_info_test
OBJECTS_B = message_asservissement_info_test.o ../message_asservissement_info.o ../message.o

TARGET_MAGI = message_asservissement_get_info_test
OBJECTS_MAGI = message_asservissement_get_info_test.o \
	       ../message_asservissement_get_info.o ../message.o

TARGET_MAD = message_asservissement_data_test
OBJECTS_MAD = message_asservissement_data_test.o \
	       ../message_asservissement_data.o ../message.o
	       
TARGET_MAC = message_asservissement_control_test
OBJECTS_MAC = message_asservissement_control_test.o \
	       ../message_asservissement_control.o ../message.o
	       
# LIB = -lccgnu2 -ldl -pthread

CFLAGS = -O2 -Wall -g
CC = g++


all: $(TARGET_A) 


$(TARGET_A): $(OBJECTS_A)
	$(CC) $(CFLAGS) -o $@ $^ 
	
mai: $(TARGET_B)

$(TARGET_B): $(OBJECTS_B)
	$(CC) $(CFLAGS) -o $@ $^ 

magi: $(TARGET_MAGI)

$(TARGET_MAGI): $(OBJECTS_MAGI)
	$(CC) $(CFLAGS) -o $@ $^ 
	
mad: $(TARGET_MAD)
	
$(TARGET_MAD): $(OBJECTS_MAD)
	$(CC) $(CFLAGS) -o $@ $^ 

mac: $(TARGET_MAC)
	
$(TARGET_MAC): $(OBJECTS_MAC)
	$(CC) $(CFLAGS) -o $@ $^ 
#$(LIB)

# $(TARGET_B): $(OBJECTS_B)
#	$(CC) $(CFLAGS) -o $@ $^ $(LIB)

clean:
	rm -f *.o message_test  core