#
# Makefile for Palantir demo programs
# Copyright (c) 1997 Dim Zegebart, Moscow Russia.
# zager@post.comstar.ru
# files : ex22.c, pdemo.c
#

CC=     gcc
INT_H = ../../palantir.h ../../src/djgpp/interndj.h ../../src/internal.h \
        ../../allegro.h ../../lwp.h ../../messages.h
LIB = ../../lib/djgpp/liballeg.a
OBJ_PATH = ./

OFLAGS = -g -m386 -O3 -ffast-math -fomit-frame-pointer
#-DFORTIFY
CFLAGS = -I. -I../../src -I../../src/djgpp -Wall -Werror $(OFLAGS)

dz_examples = ex1.exe ex2.exe ex3.exe ex4.exe ex22.exe pdemo.exe dialer.exe
#dz_examples = pdemo.exe
%.exe : %.c ; $(CC) $(CFLAGS) $< $(LIB) -o $@

all : $(dz_examples) ; @echo Dont run examples under Windows !
$(dz_examples) : $(INT_H) $(LIB)








