source: internals/2011/nfc/Trunk/CMHotspot/src/Makefile.local @ 5414

Last change on this file since 5414 was 5414, checked in by daniel.romao, 9 years ago

To compile without the OpenWRT environment

File size: 1.0 KB
Line 
1CC=gcc
2CFLAGS=-g -c -Wall
3
4all: mainServer
5
6mainServer: mainServer.o SetExpressCheckout.o curl_func.o GetExpressCheckout.o DoExpressCheckout.o aux_func.o PayPal_Thread.o CreditCard_Thread.o DoDirectPayment.o
7        $(CC) -lcurl -lpthread mainServer.o SetExpressCheckout.o curl_func.o GetExpressCheckout.o DoExpressCheckout.o aux_func.o PayPal_Thread.o CreditCard_Thread.o DoDirectPayment.o -o mainServer
8
9SetExpressCheckout.o: SetExpressCheckout.h
10        $(CC) $(CFLAGS) SetExpressCheckout.c
11
12GetExpressCheckout.o: GetExpressCheckout.h
13        $(CC) $(CFLAGS) GetExpressCheckout.c
14
15DoExpressCheckout.o: DoExpressCheckout.h
16        $(CC) $(CFLAGS) DoExpressCheckout.c
17
18DoDirectPayment.o: DoDirectPayment.h
19        $(CC) $(CFLAGS) DoDirectPayment.c
20
21PayPal_Thread.o: PayPal_Thread.h
22        $(CC) $(CFLAGS) PayPal_Thread.c
23
24CreditCard_Thread.o: CreditCard_Thread.h
25        $(CC) $(CFLAGS) CreditCard_Thread.c
26
27mainServer.o: mainServer.c
28        $(CC) $(CFLAGS) mainServer.c
29
30curl_func.o: curl_func.h
31        $(CC) $(CFLAGS) curl_func.c
32
33aux_func.o: aux_func.h
34        $(CC) $(CFLAGS) aux_func.c
35
36clean:
37        rm *.o mainServer
Note: See TracBrowser for help on using the repository browser.