summaryrefslogtreecommitdiff
path: root/Examples/Makefile
blob: 5e4990fc3647b93d0ac5ec8b43441411025e6343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
##
##	$Id: Makefile,v 21.1 92/06/02 18:14:03 chris Exp $
##	$Revision: 21.1 $
##
##	$Filename: Examples/Makefile $
##	$Author: Christian A. Weber $
##	$Release: 21.1 $
##	$Date: 92/06/02 18:14:03 $
##
##	Makefile to build iff.library examples
##
##	COPYRIGHT (C) 1987-1993 BY CHRISTIAN A. WEBER, BRUGGERWEG 2,
##	CH-8037 ZUERICH, SWITZERLAND.
##	THIS FILE MAY BE FREELY DISTRIBUTED. USE AT YOUR OWN RISK.
##

ALL:	EasyExample AnimExample GrabScreen


#############################################################################
##	Flags

CFLAGS	= -cfustq -fid -ms -v -rr -s -O
AFLAGS	= -l -iINCLUDE: 
LFLAGS	= ADDSYM


#############################################################################
##	Rules

.s.o:
	Genam $(AFLAGS) $*.S

.c.o:
	LC $(CFLAGS) $*.c


#############################################################################
##	EasyExample

EX_STARTUP	= LIB:c.o
EX_MODULES	= EasyExample.o
EX_LIBS		= LIB:lcr.lib

EasyExample:	$(EX_STARTUP) $(EX_MODULES) $(EX_LIBS)
		BLINK FROM $(EX_STARTUP) $(EX_MODULES) TO $* LIB $(EX_LIBS)


#############################################################################
##	AnimEXample

AX_STARTUP	= LIB:c.o
AX_MODULES	= AnimExample.o
AX_LIBS		= LIB:lcr.lib

AnimExample:	$(AX_STARTUP) $(AX_MODULES) $(AX_LIBS)
		BLINK FROM $(AX_STARTUP) $(AX_MODULES) TO $* LIB $(AX_LIBS)


#############################################################################
##	GrabScreen

GS_STARTUP	= LIB:c.o
GS_MODULES	= GrabScreen.o
GS_LIBS		= LIB:lcr.lib

GrabScreen:	$(GS_STARTUP) $(GS_MODULES) $(GS_LIBS)
		BLINK FROM $(GS_STARTUP) $(GS_MODULES) TO $* LIB $(GS_LIBS)