summaryrefslogtreecommitdiff
path: root/MovieDecode/Makefile
blob: 81fad47c7312356e93db9182b72215acf4ad9b1a (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
# Makefile for MovieDecode and test program
# by Christian A. Weber

ASM		= Genam
AFLAGS		= -iINCLUDE: -l

CC		= sc
CFLAGS		= 

LD		= SLINK
LFLAGS		= NOICONS ADDSYM MAP RAM:SimpleTest.map


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

.a.o:
	$(ASM) $(AFLAGS) $*.a


SimpleTest:	SimpleTest.o MovieDecode.o
		@$(LD) $(LFLAGS) FROM LIB:c.o SimpleTest.o MovieDecode.o TO $@\
                LIB LIB:sc.lib LIB:amiga.lib

MovieDecode.doc:
		Autodoc -a -C -I MovieDecode.a >MovieDecode.doc

dist:		SimpleTest MovieDecode.doc
		-@Delete MovieDecode.LHA
		@Lha a MovieDecode.LHA MovieDecode.a MovieDecode.doc SimpleTest.c Makefile SCOPTIONS SimpleTest

clean:
		-@Delete *.o SimpleTest MovieDecode.LHA