Subversion Repositories SmartDukaan

Rev

Rev 301 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
301 ashish 1
##  Copyright (c) 2007-2008 Facebook
2
##
3
##  Licensed under the Apache License, Version 2.0 (the "License");
4
##  you may not use this file except in compliance with the License.
5
##  You may obtain a copy of the License at
6
##
7
##      http://www.apache.org/licenses/LICENSE-2.0
8
##
9
##  Unless required by applicable law or agreed to in writing, software
10
##  distributed under the License is distributed on an "AS IS" BASIS,
11
##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
##  See the License for the specific language governing permissions and
13
##  limitations under the License.
14
##
15
## See accompanying file LICENSE or visit the Scribe site at:
16
## http://developers.facebook.com/scribe/ 
17
 
18
 
19
CC =           g++ 
20
CCOPT =         -O2
21
DEFS =
22
INCLS =        
23
CFLAGS =        $(CCOPT) $(DEFS) $(INCLS)
24
LDFLAGS =
25
LIBS =    
26
NETLIBS =
27
 
28
.c.o:
29
	@rm -f $@
30
	$(CC) $(CFLAGS) -c $*.c
31
 
32
SRC =           resultChecker.c
33
OBJ =           $(SRC:.c=.o)
34
ALL =           resultChecker
35
CLEANFILES =    $(ALL) $(OBJ)
36
 
37
all:            this
38
this:           $(ALL)
39
 
40
resultChecker: $(OBJ)
41
	@rm -f $@
42
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS) $(NETLIBS)