equal
deleted
inserted
replaced
|
1 ########################################################################## |
|
2 # |
|
3 # Makefile for ... |
|
4 # |
|
5 ########################################################################## |
|
6 |
|
7 ########################################################################## |
|
8 # |
|
9 # Definitions |
|
10 # |
|
11 ########################################################################## |
|
12 include /home/penuser/3GNetworkEmulator/Makefile.conf |
|
13 |
|
14 TARGET=../../bin/hacontroller |
|
15 INCLUDES= -I../include |
|
16 OBJECTS= CSHacontroller.o \ |
|
17 CSvcHacontroller.o \ |
|
18 hacontroller_svc.o \ |
|
19 hacontroller_svc_stub_impl.o \ |
|
20 hacontroller_xdr.o \ |
|
21 CNetworkPartitionManager.o |
|
22 |
|
23 LIBS=-L../../BinInternal/ -lalias -ldynamicsconfig -lintalloc -lproc -ldynwrap |
|
24 |
|
25 ########################################################################## |
|
26 # |
|
27 # Rules |
|
28 # |
|
29 ########################################################################## |
|
30 $(TARGET): $(OBJECTS) ../../BinInternal/libalias.a ../../BinInternal/libdynamicsconfig.a ../../BinInternal/libintalloc.a ../../BinInternal/libproc.a ../../BinInternal/libdynwrap.a |
|
31 g++ $(CFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) |
|
32 |
|
33 %.o: %.c |
|
34 gcc $(CFLAGS) $(INCLUDES) -c $< -o $@ |
|
35 |
|
36 %.o: %.cpp |
|
37 g++ $(CFLAGS) $(INCLUDES) -c $< -o $@ |
|
38 |
|
39 clean: |
|
40 rm -r -f $(TARGET) *.o *~ dyntmp* |