# examples makefile for MX-Windows (C) 1999 Achillefs Margaritis


INCDIR = $(DJDIR)\include
LIBDIR = $(DJDIR)\lib
LIBS   = -lmxwin -lalleg


all : msg hello.exe
	@echo All examples compiled successfully.

msg :
	@echo Compiling examples. Please wait...


hello.exe : hello.o
	gcc -L$(LIBDIR) hello.o -o hello.exe $(LIBS)


hello.o : hello.c $(DJDIR)\include\mx.h $(DJDIR)\lib\libmxwin.a
	gcc -I$(INCDIR) -c hello.c -o hello.o

clean :
	del *.o

