~ubuntu-branches/ubuntu/precise/tspc/precise

« back to all changes in this revision

Viewing changes to platform/linux/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2008-12-06 14:09:28 UTC
  • mfrom: (4.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081206140928-q6lgtg4e0kybuj5q
Tags: 2.1.1-8ubuntu1
* Merge from Debian unstable, remaining changes (LP: #305124):
  - Make sure ipv6 module is loaded.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
BIN=../../bin
28
28
TSPC=tspc
29
29
 
30
 
CFLAGS=-g -Wall
31
 
INC=-I../../include -I../../platform/$(target)
 
30
CFLAGS=-g -Wall -I../../include -I../../platform/$(target)
32
31
CC=gcc
33
32
 
34
33
all: $(OBJ) $(OBJLINK) $(BIN)/$(TSPC)
35
34
 
36
35
$(OBJDIR)/tsp_local.o:tsp_local.c
37
 
        $(CC) $(CFLAGS) $(INC) -c tsp_local.c -o $(OBJDIR)/tsp_local.o $(DEFINES)
 
36
        $(CC) $(CFLAGS) -c tsp_local.c -o $(OBJDIR)/tsp_local.o $(DEFINES)
38
37
$(OBJDIR)/tsp_tun.o:tsp_tun.c
39
 
        $(CC) $(CFLAGS) $(INC) -c tsp_tun.c -o $(OBJDIR)/tsp_tun.o $(DEFINES)
 
38
        $(CC) $(CFLAGS) -c tsp_tun.c -o $(OBJDIR)/tsp_tun.o $(DEFINES)
40
39
 
41
40
$(BIN)/$(TSPC): $(OBJ)
42
41
        $(CC) $(CFLAGS) -o $(BIN)/$(TSPC) $(OBJLINK)