# Simple makefile for ANSICON.
# Jason Hood, 11 March, 2006.

CC = colgcc gcc
CFLAGS= -O2 -Wall

all: ansicon.exe ANSI.dll

ansicon.exe: ansicon.c
	$(CC) $(CFLAGS) ansicon.c -s -o ansicon.exe

ANSI.dll: ANSI.c
	$(CC) $(CFLAGS) ANSI.c -s -o ANSI.dll -mdll -Wl,--image-base,0x11000000

# Image base is required for mICQ (Matt's ICQ clone) version 0.5.1.
