# $Id: makefile.emx,v 1.3.2.1 2002/12/26 12:40:26 stas_degteff Exp $ # # Legacy makefile for IBM OS/2 + EMX Runtime library # Do not support husky build enviroment SRCDIR= ../src/ CC = gcc CFLAGS= -DOS2 -I../.. -c -O3 -DNOSEMAPHORES COPT = -O2 LFLAGS=-Zcrtdll OBJS = hptkill.o LIBS=../../fidoconf/fconfemx.a ../../smapi/patmat.o ../../smapi/smapiemx.a all: hptkill.exe %.o: $(SRCDIR)%.c $(CC) $(COPT) $(CFLAGS) $(SRCDIR)$*.c hptkill.exe: $(OBJS) $(CC) $(LFLAGS) -o hptkill.exe $(OBJS) $(LIBS) clean: -rm -f *.o distclean: clean -rm hptkill.exe -rm hptkill.?.gz