~ubuntu-branches/ubuntu/saucy/silversearcher-ag/saucy-proposed

« back to all changes in this revision

Viewing changes to Makefile.w32

  • Committer: Package Import Robot
  • Author(s): Hajime Mizuno
  • Date: 2013-05-12 16:21:12 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130512162112-osdw6ht1jon6l534
Tags: 0.15~pre+20130512-1
* new upstream release
* debian/control
  - add "Build-Depends: liblzma-dev" to search for .xz compressed files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SRCS = \
 
2
        src/decompress.c \
 
3
        src/ignore.c \
 
4
        src/log.c \
 
5
        src/main.c \
 
6
        src/options.c \
 
7
        src/print.c \
 
8
        src/scandir.c \
 
9
        src/search.c \
 
10
        src/util.c
 
11
OBJS = $(subst .c,.o,$(SRCS))
 
12
 
 
13
CFLAGS = -O2
 
14
LIBS = -lz -lpthread -lpcre -lshlwapi
 
15
TARGET = ag.exe
 
16
 
 
17
all : $(TARGET)
 
18
 
 
19
$(TARGET) : $(OBJS)
 
20
        gcc -o $@ $(OBJS) $(LIBS)
 
21
 
 
22
.c.o :
 
23
        gcc -c $(CFLAGS) -Isrc $< -o $@
 
24
 
 
25
clean :
 
26
        rm -f src/*.o $(TARGET)