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
|