File: Makefile.mingw32

package info (click to toggle)
indent 2.2.13-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,696 kB
  • sloc: ansic: 20,903; sh: 5,035; makefile: 165; sed: 16; cpp: 5
file content (40 lines) | stat: -rw-r--r-- 565 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

#
# Simple makefile to make indent on win32 systems.
# Requires:
#   -  gcc (mingw32)
#   -  Unixlike make (preferably gmake)
#
# Sudhi Herle (sherle@sta.samsung.com)
#


OBJS = \
	args.o \
	backup.o \
	comments.o \
	globs.o \
	indent.o \
	io.o \
	lexi.o \
	parse.o \
	wildexp.o



CC = gcc 
DEFS = -DWIN32 -D_CONSOLE -DHAVE_CONFIG_H
CFLAGS = -mno-cygwin -s -O6 $(DEFS)

all: indent.exe

indent.exe: $(OBJS)
	$(CC) -o $@ $(OBJS)

$(OBJS): config.h

config.h: ..\miscel\config.h.vc++
	copy $< $@

clean:
	-del *.o indent.exe