CC=gcc
RM=del
CDEFS=-D__NT__ -D__MINGW__ -c -I../h -I../..
CFLAGS=-Wall
COPT=-O3
# uncomment one of this line if you want to anable hardlinking on NTFS 4.0, 5.0
# CDEFS=$(CDEFS) -D_WIN32_WINNT=0x0400
# CDEFS=$(CDEFS) -D_WIN32_WINNT=0x0500
LFLAGS=-L../../smapi -L../../fidoconf
LIBS=-lfidoconfigmgw -lsmapimgw -luser32
SRC_DIR=../src/
default: all
TARGET=htick.exe
OBJS = htick.o \
global.o \
toss.o \
fcommon.o \
scan.o \
areafix.o \
add_desc.o \
seenby.o \
hatch.o \
filelist.o \
filecase.o
all: $(TARGET)
%.o: $(SRC_DIR)%.c
$(CC) $(CFLAGS) $(CDEFS) $(COPT) $(SRC_DIR)$*.c
$(TARGET): $(OBJS)
$(CC) $(LFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
clean:
-$(RM) *.o
distclean:
-$(RM) $(TARGET)
syntax highlighted by Code2HTML, v. 0.9.1